1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:25:54 +00:00

add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM

Feeds::format_headlines_list: add some comments for cdm article closing tags
This commit is contained in:
Andrew Dolgov
2017-05-26 23:22:00 +03:00
parent 9e381bc202
commit e50a647916
3 changed files with 69 additions and 62 deletions

View File

@@ -745,6 +745,10 @@ class Article extends Handler_Protected {
$rv['content'] .= "</body></html>";
}
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_FORMAT_ARTICLE) as $p) {
$rv['content'] = $p->hook_format_article($rv['content'], $line, $zoom_mode);
}
return $rv;
}