From c7fe1b4e9e392e0b9ffa55151c43ea7e2e2ee709 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 28 Oct 2012 12:44:10 +0400 Subject: sanitize article content when importing data from feed --- include/rssfuncs.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/rssfuncs.php') diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 14fa5f348..af62a5041 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -770,9 +770,8 @@ } # sanitize content - - $entry_content = sanitize_article_content($entry_content); - $entry_title = sanitize_article_content($entry_title); + $entry_content = sanitize($link, $entry_content, $owner_uid, $site_url); + $entry_title = strip_tags($entry_title); if ($debug_enabled) { _debug("update_rss_feed: done collecting data [TITLE:$entry_title]"); -- cgit v1.2.3