From 1ac0baf4ea92919bef895c03ffcf22a808c7f2d0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 May 2007 08:14:44 +0100 Subject: mobile: sanitize article content --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index e316f74f5..62f0cdd02 100644 --- a/functions.php +++ b/functions.php @@ -2637,10 +2637,10 @@ } } - function sanitize_rss($link, $str) { + function sanitize_rss($link, $str, $force_strip_tags = false) { $res = $str; - if (get_pref($link, "STRIP_UNSAFE_TAGS")) { + if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) { $res = strip_tags($res, "


"); } -- cgit v1.2.3