diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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, "<p><a><i><em><b><strong><blockquote><br><img>"); } |