mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 20:37:10 +00:00
add plugin to cache images in starred articles; pass article_id to
sanitize
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -390,6 +390,11 @@ class Handler_Public extends Handler {
|
||||
}
|
||||
}
|
||||
|
||||
function updateTask() {
|
||||
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
||||
}
|
||||
|
||||
function globalUpdateFeeds() {
|
||||
RPC::updaterandomfeed_real($this->dbh);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user