summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-28 09:15:09 +0100
committerAndrew Dolgov <[email protected]>2008-08-28 09:15:09 +0100
commit4f3760433ff6952851436b79a21f71135fa21b9e (patch)
tree4b2f4435c294a9d3f66ab734a3af3970abc9a53f /functions.php
parent4b9dfd5b91cd931febe0d5aec7107fc34f7c16ee (diff)
sanitize_rss: allow pre and code tags
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 7894e401a..e09ff932e 100644
--- a/functions.php
+++ b/functions.php
@@ -3516,7 +3516,7 @@
if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) {
$res = strip_tags_long($res,
- "<p><a><i><em><b><strong><blockquote><br><img><ul><ol><li>");
+ "<p><a><i><em><b><strong><code><pre><blockquote><br><img><ul><ol><li>");
// $res = preg_replace("/\r\n|\n|\r/", "", $res);
// $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>");