helpers/url: Properly escape image urls

This commit is contained in:
Johannes Meyer 2018-10-09 08:30:20 +02:00
parent 7ba0466048
commit 4e6b936862
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);
});