helpers/url: Properly escape image urls
This commit is contained in:
parent
7ba0466048
commit
4e6b936862
|
@ -77,7 +77,7 @@ $this->addHelperFunction('img', function ($url, $params = null, array $propertie
|
|||
|
||||
return sprintf(
|
||||
'<img src="%s"%s />',
|
||||
$view->url($url, $params),
|
||||
$view->escape($view->url($url, $params)),
|
||||
$view->propertiesToString($properties)
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue