diff --git a/functions.php b/functions.php index 26a973679..67edc5789 100644 --- a/functions.php +++ b/functions.php @@ -3678,8 +3678,15 @@ $tpl->setVariable('ARTICLE_TITLE', htmlspecialchars($line['title'])); $tpl->setVariable('ARTICLE_EXCERPT', truncate_string(strip_tags($line["content_preview"]), 100, '...')); - $tpl->setVariable('ARTICLE_CONTENT', - sanitize_rss($link, $line["content_preview"], false, $owner_uid)); + + $content = sanitize_rss($link, $line["content_preview"], false, $owner_uid); + + if ($line['note']) { + $content = "