mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:35:55 +00:00
update_rss_feed: fix broken title/content escaping
This commit is contained in:
@@ -770,8 +770,8 @@
|
||||
}
|
||||
|
||||
# sanitize content
|
||||
$entry_content = sanitize($link, $entry_content, $owner_uid, $site_url);
|
||||
$entry_title = strip_tags($entry_title);
|
||||
$entry_content = db_escape_string(sanitize($link, $entry_content, $owner_uid, $site_url));
|
||||
$entry_title = db_escape_string(strip_tags($entry_title));
|
||||
|
||||
if ($debug_enabled) {
|
||||
_debug("update_rss_feed: done collecting data [TITLE:$entry_title]");
|
||||
|
||||
Reference in New Issue
Block a user