1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-17 14:11:29 +00:00

remove sanitize_article_content (CDATA handled by htmLawed)

This commit is contained in:
Andrew Dolgov
2012-10-29 23:51:32 +04:00
parent db9e00e339
commit 24be5e836f
2 changed files with 0 additions and 11 deletions

View File

@@ -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();