summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-31 11:59:40 -0700
committerAndrew Dolgov <[email protected]>2013-03-31 11:59:40 -0700
commit5235e734037025e7d802df79c019fd3074b5bc2f (patch)
tree4b738e9f29623ef6fcc70ad97f1be59ccc187993
parent0db3db2e3777f33064eb3601ac0dbcb3b64112dc (diff)
parente9c6e27ddbd4d7bf7bd279d46bc09d37dc67c5a2 (diff)
Merge pull request #109 from symac/patch-1
Update public.php
-rw-r--r--classes/handler/public.php3
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);