summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-05 08:31:22 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-05 08:31:22 +0000
commit17caf43549fbb082f9de78af0766baf787de7e4b (patch)
tree44ceeb1da2d16c88dc134a0b4a7e6bfe9d6b6613 /templates
parente962e6d5dfe8b9e97a6cedb45c793b072cdc93c7 (diff)
downloadsearch-17caf43549fbb082f9de78af0766baf787de7e4b.tar.gz
search-17caf43549fbb082f9de78af0766baf787de7e4b.tar.bz2
search-17caf43549fbb082f9de78af0766baf787de7e4b.zip
searched for .title} .description} and .data} and added |escape where appropriate (i hope). might have misinterpreted a situation or two, so please keep a lookout...
Diffstat (limited to 'templates')
-rw-r--r--templates/search.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index 5d64b02..f9c4559 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|escape:url}">{$results[search].title}</a>
+ {tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} <a href="{$results[search].href}&highlight={$words|escape:url}">{$results[search].title|escape}</a>
<small>&bull;&nbsp;{tr}Relivence{/tr}: {$results[search].relivency} &bull;&nbsp;{tr}Hits{/tr}: {$results[search].hits}
{if $gBitSystem->isFeatureActive( 'search_fulltext' )}
&nbsp;&bull;&nbsp;