STRIP_UNSAFE_TAGS: forbid div and span

This commit is contained in:
Andrew Dolgov 2008-07-23 15:27:21 +01:00
parent d9aad400ab
commit 7f50b72be8
1 changed files with 1 additions and 1 deletions

View File

@ -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>");