diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-03-25 20:53:10 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-03-25 20:53:10 +0000 |
| commit | f3a5faf7b0dbd6456036c254e9ee0dfc3509e4a9 (patch) | |
| tree | 070613c3d40b3050a77bee33fa33bdbf1d9626c1 /templates | |
| parent | 164f669f2058a1d06ed02d8f9ddaa3154019c940 (diff) | |
| download | search-f3a5faf7b0dbd6456036c254e9ee0dfc3509e4a9.tar.gz search-f3a5faf7b0dbd6456036c254e9ee0dfc3509e4a9.tar.bz2 search-f3a5faf7b0dbd6456036c254e9ee0dfc3509e4a9.zip | |
escape htmlspecialchars on output instead of during store process
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/search.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/search.tpl b/templates/search.tpl index 5cf8f09..b1cf302 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -40,7 +40,7 @@ {* using capture for no particular reason appart from a nicer layout - xing *} {capture name=title} {assign var=guid value=$results[search].content_type_guid} - {tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} <a href="{$results[search].href}&highlight={$words}">{$results[search].title}</a> + {tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} <a href="{$results[search].href}&highlight={$words}">{$results[search].title|escape}</a> <small> • {tr}Hits{/tr}: {$results[search].hits} {if $gBitSystem->isFeatureActive( 'search_fulltext' )} • @@ -57,7 +57,7 @@ {/capture} <div class="search box"> - <h3>{$smarty.capture.title}</h3> + <h3>{$smarty.capture.title|escape}</h3> <div class="boxcontent"> {$results[search].parsed|strip_tags|truncate:250} <br /> |
