summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-07-23 15:27:21 +0100
committerAndrew Dolgov <[email protected]>2008-07-23 15:27:21 +0100
commit7f50b72be80f3b9b3573c1591c00f6c56b5fa3ca (patch)
treeb1695bbc25e68fd247013e0a710817521532262b
parentd9aad400ab5f4b4cb6351b6b2ef2c82eb371be6a (diff)
STRIP_UNSAFE_TAGS: forbid div and span
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 5a72f681f..8e2acb222 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><div><span><ul><ol><li>");
+ "<p><a><i><em><b><strong><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>");