diff options
author | Andrew Dolgov <[email protected]> | 2013-03-31 11:59:40 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-31 11:59:40 -0700 |
commit | 5235e734037025e7d802df79c019fd3074b5bc2f (patch) | |
tree | 4b738e9f29623ef6fcc70ad97f1be59ccc187993 | |
parent | 0db3db2e3777f33064eb3601ac0dbcb3b64112dc (diff) | |
parent | e9c6e27ddbd4d7bf7bd279d46bc09d37dc67c5a2 (diff) |
Merge pull request #109 from symac/patch-1
Update 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); |