summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-29 12:17:28 +0400
committerAndrew Dolgov <[email protected]>2012-10-29 12:17:28 +0400
commitb3682750bb59382681dafda3776e9e100e39d4e2 (patch)
tree2d70070d32d9105c4818e37c9b7f0dab25ae1355 /include/rssfuncs.php
parentd372d2bbab49c3056eab01cab4b6ec3271544657 (diff)
Revert "sanitize article content when importing data from feed"
This reverts commit c7fe1b4e9e392e0b9ffa55151c43ea7e2e2ee709. Conflicts: include/functions.php include/rssfuncs.php
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index e413743b6..fbe671ca4 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -770,8 +770,8 @@
}
# sanitize content
- $entry_content = db_escape_string(sanitize($link, $entry_content, $owner_uid, $site_url));
- $entry_title = db_escape_string(strip_tags($entry_title));
+ $entry_content = sanitize_article_content($entry_content);
+ $entry_title = sanitize_article_content($entry_title);
if ($debug_enabled) {
_debug("update_rss_feed: done collecting data [TITLE:$entry_title]");