mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:35:56 +00:00
split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently
This commit is contained in:
@@ -610,6 +610,8 @@ class Article extends Handler_Protected {
|
||||
$line = $p->hook_render_article($line);
|
||||
}
|
||||
|
||||
$line['content'] = rewrite_cached_urls($line['content']);
|
||||
|
||||
$num_comments = (int) $line["num_comments"];
|
||||
$entry_comments = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user