diff options
author | Andrew Dolgov <[email protected]> | 2008-07-23 15:27:21 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-07-23 15:27:21 +0100 |
commit | 7f50b72be80f3b9b3573c1591c00f6c56b5fa3ca (patch) | |
tree | b1695bbc25e68fd247013e0a710817521532262b /functions.php | |
parent | d9aad400ab5f4b4cb6351b6b2ef2c82eb371be6a (diff) |
STRIP_UNSAFE_TAGS: forbid div and span
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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>"); |