diff options
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 6822faa77..37c704584 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -65,7 +65,8 @@ class Handler_Public extends Handler { if ($line['note']) { $content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" . $content; -} + $tpl->setVariable('ARTICLE_NOTE', htmlspecialchars($line['note']), true); + } $tpl->setVariable('ARTICLE_CONTENT', $content, true); |