|
|
@ -3754,9 +3754,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
$res = trim($str); if (!$res) return '';
|
|
|
|
$res = trim($str); if (!$res) return '';
|
|
|
|
|
|
|
|
|
|
|
|
if (get_pref($link, "STRIP_UNSAFE_TAGS", $owner) || $force_strip_tags) {
|
|
|
|
// if (get_pref($link, "STRIP_UNSAFE_TAGS", $owner) || $force_strip_tags) {
|
|
|
|
$res = $purifier->purify($res);
|
|
|
|
$res = $purifier->purify($res);
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
if (get_pref($link, "STRIP_IMAGES", $owner)) {
|
|
|
|
if (get_pref($link, "STRIP_IMAGES", $owner)) {
|
|
|
|
$res = preg_replace('/<img[^>]+>/is', '', $res);
|
|
|
|
$res = preg_replace('/<img[^>]+>/is', '', $res);
|
|
|
|