mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:35:58 +00:00
block STRIP_UNSAFE_TAGS (force enable)
This commit is contained in:
@@ -3754,9 +3754,9 @@
|
||||
|
||||
$res = trim($str); if (!$res) return '';
|
||||
|
||||
if (get_pref($link, "STRIP_UNSAFE_TAGS", $owner) || $force_strip_tags) {
|
||||
$res = $purifier->purify($res);
|
||||
}
|
||||
// if (get_pref($link, "STRIP_UNSAFE_TAGS", $owner) || $force_strip_tags) {
|
||||
$res = $purifier->purify($res);
|
||||
// }
|
||||
|
||||
if (get_pref($link, "STRIP_IMAGES", $owner)) {
|
||||
$res = preg_replace('/<img[^>]+>/is', '', $res);
|
||||
|
||||
Reference in New Issue
Block a user