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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user