mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
htmspecialchars_decode only takes one argument.
This commit is contained in:
parent
303324cdff
commit
3a11980e49
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue