1
0
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:
Andrew Dolgov
2018-08-20 12:12:32 +03:00
parent c5c3a0a2a8
commit 2aef804f4b
4 changed files with 65 additions and 24 deletions

View File

@@ -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 = "";