properly handle per-feed hide_images setting in three panel mode (closes #706)

This commit is contained in:
Andrew Dolgov 2013-06-03 10:31:45 +04:00
parent ee442dfec5
commit 53a49ff82a
1 changed files with 3 additions and 1 deletions

View File

@ -3106,7 +3106,9 @@
$line["tags"] = get_article_tags($id, $owner_uid, $line["tag_cache"]);
unset($line["tag_cache"]);
$line["content"] = sanitize($line["content"], false, $owner_uid, $line["site_url"]);
$line["content"] = sanitize($line["content"],
sql_bool_to_bool($line['hide_images']),
$owner_uid, $line["site_url"]);
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_RENDER_ARTICLE) as $p) {
$line = $p->hook_render_article($line);