summaryrefslogtreecommitdiff
path: root/httemplate/search/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/log.html')
-rw-r--r--httemplate/search/log.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/log.html b/httemplate/search/log.html
index a707928d7..b607f505d 100644
--- a/httemplate/search/log.html
+++ b/httemplate/search/log.html
@@ -138,7 +138,7 @@ my $tt_sub = sub {
return '' if @context == 1 and length($log->message) <= 60;
my $html = '<DIV CLASS="tooltip">'.(shift @context).'</DIV>';
my $pre = '&#8627;';
- foreach (@context, $log->message) {
+ foreach (map encode_entities($_), @context, $log->message) {
$html .= "<DIV>$pre$_</DIV>";
$pre = '&nbsp;&nbsp;&nbsp;'.$pre;
}