From 24be5e836fdd3c23f30f3a452cc9c794da09ca1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 29 Oct 2012 23:51:32 +0400 Subject: remove sanitize_article_content (CDATA handled by htmLawed) --- include/functions.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 263d9d8fe..632e2e02e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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(); -- cgit v1.2.3