Fix double escape of `&' in navigation items

fixes #11190
This commit is contained in:
Alexander A. Klimov 2016-02-19 15:38:34 +01:00
parent 41a8c75a4f
commit 9ef78e6856
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class NavigationItemRenderer
$content = sprintf(
'<a%s href="%s"%s>%s</a>',
$this->view()->propertiesToString($item->getAttributes()),
$this->view()->escape($url),
$this->view()->escape($url->getAbsoluteUrl('&')),
$this->renderTargetAttribute(),
$label
);