summaryrefslogtreecommitdiff
path: root/classes/article.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-26 23:22:00 +0300
committerAndrew Dolgov <[email protected]>2017-05-26 23:22:00 +0300
commite50a64791687c27ba6a76df84a0e3b32dfd77936 (patch)
tree3862b54f20d5a80971dd41b21c3e09f6b6ae8edd /classes/article.php
parent9e381bc2021dc427f62c463dac9cf7a82a66616f (diff)
add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
Feeds::format_headlines_list: add some comments for cdm article closing tags
Diffstat (limited to 'classes/article.php')
-rw-r--r--classes/article.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/article.php b/classes/article.php
index b5a78523f..8c8e0bdda 100644
--- a/classes/article.php
+++ b/classes/article.php
@@ -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;
}