remove sanitize_article_content (CDATA handled by htmLawed)

master
Andrew Dolgov 12 years ago
parent db9e00e339
commit 24be5e836f

@ -3626,13 +3626,6 @@
}
} // function encrypt_password
function sanitize_article_content($text) {
# we don't support CDATA sections in articles, they break our own escaping
$text = preg_replace("/\[\[CDATA/", "", $text);
$text = preg_replace("/\]\]\>/", "", $text);
return db_escape_string($text, false);
}
function load_filters($link, $feed_id, $owner_uid, $action_id = false) {
$filters = array();

@ -769,10 +769,6 @@
//print_r($entry_tags);
}
# sanitize content
$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]");
}

Loading…
Cancel
Save