htmspecialchars_decode only takes one argument.
This commit is contained in:
parent
303324cdff
commit
3a11980e49
@ -582,7 +582,7 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
|
||||
$a = get_app();
|
||||
|
||||
// Picture addresses can contain special characters
|
||||
$s = htmlspecialchars_decode($s, ENT_COMPAT,'UTF-8');
|
||||
$s = htmlspecialchars_decode($s, ENT_COMPAT);
|
||||
|
||||
$matches = null;
|
||||
$c = preg_match_all('/\[img(.*?)\](.*?)\[\/img\]/ism',$s,$matches,PREG_SET_ORDER);
|
||||
|
Reference in New Issue
Block a user