summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-03-25 20:53:10 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-03-25 20:53:10 +0000
commitf3a5faf7b0dbd6456036c254e9ee0dfc3509e4a9 (patch)
tree070613c3d40b3050a77bee33fa33bdbf1d9626c1 /templates
parent164f669f2058a1d06ed02d8f9ddaa3154019c940 (diff)
downloadsearch-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.tpl4
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> &bull;&nbsp;{tr}Hits{/tr}: {$results[search].hits}
{if $gBitSystem->isFeatureActive( 'search_fulltext' )}
&nbsp;&bull;&nbsp;
@@ -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 />