]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
make the page valid
authorChristian Weiske <cweiske@cweiske.de>
Sat, 9 Oct 2010 10:09:25 +0000 (12:09 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 9 Oct 2010 10:09:25 +0000 (12:09 +0200)
data/templates/sidebar.block.search.php

index f4e6b42cb8e9b0f1b798d781e05dac1503d60423..d3cd8a5aa190cbb65e432cc6e0afba2bb2e786f8 100644 (file)
@@ -34,7 +34,7 @@ foreach ($lastSearches as $row) {
     echo  '<a href="'
         . htmlspecialchars(createURL('search', $range.'/'.$row['shTerms']))
         . '">';
-    echo $row['shTerms'];
+    echo htmlspecialchars($row['shTerms']);
     echo '</a>';
     echo ' <span title="'
         . T_('Number of bookmarks for this query')