1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-30 16:57:10 +00:00

add plugin to cache images in starred articles; pass article_id to

sanitize
This commit is contained in:
Andrew Dolgov
2013-08-02 14:04:14 +04:00
parent 2fc4d981d1
commit 910592b49a
4 changed files with 177 additions and 4 deletions

View File

@@ -510,7 +510,7 @@ class Feeds extends Handler_Protected {
$tags = false;
$line["content"] = sanitize($line["content"],
sql_bool_to_bool($line['hide_images']), false, $entry_site_url, $highlight_words);
sql_bool_to_bool($line['hide_images']), false, $entry_site_url, $highlight_words, $line["id"]);
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_RENDER_ARTICLE_CDM) as $p) {
$line = $p->hook_render_article_cdm($line);