Merge pull request #109 from symac/patch-1

Update public.php
This commit is contained in:
Andrew Dolgov 2013-03-31 11:59:40 -07:00
commit 5235e73403
1 changed files with 2 additions and 1 deletions

View File

@ -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);