mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 10:31:29 +00:00
STRIP_UNSAFE_TAGS: forbid div and span
This commit is contained in:
@@ -3516,7 +3516,7 @@
|
|||||||
if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) {
|
if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) {
|
||||||
|
|
||||||
$res = strip_tags_long($res,
|
$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 = preg_replace("/\r\n|\n|\r/", "", $res);
|
||||||
// $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>");
|
// $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>");
|
||||||
|
|||||||
Reference in New Issue
Block a user