diff --git a/config/func.inc.php b/config/func.inc.php index 3415ee367..7368dbc6b 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -855,6 +855,15 @@ } } } + + if($tag == 'img') + { + $attribute = strtolower(trim($name)); + if(strpos(strtolower($val), 'data:') === 0) + { + continue; + } + } $val = str_replace('"', '"', $val); $attr[] = $name."=\"{$val}\""; }