From 41ad5bf998705e876e4d28ebf10860702e7f49b0 Mon Sep 17 00:00:00 2001 From: Julien Bourdeau Date: Tue, 2 Aug 2016 12:01:28 +0200 Subject: [PATCH] Do not escape link since tpl is escaped --- ps_mainmenu.php | 2 +- ps_mainmenu.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ps_mainmenu.php b/ps_mainmenu.php index 06e2b4a..d8d7157 100644 --- a/ps_mainmenu.php +++ b/ps_mainmenu.php @@ -716,7 +716,7 @@ class Ps_MainMenu extends Module implements WidgetInterface if ($category['level_depth'] > 1) { $cat = new Category($category['id_category']); - $link = Tools::HtmlEntitiesUTF8($cat->getLink()); + $link = $cat->getLink(); } else { $link = $this->context->link->getPageLink('index'); } diff --git a/ps_mainmenu.tpl b/ps_mainmenu.tpl index 2fa9710..7e3aedf 100644 --- a/ps_mainmenu.tpl +++ b/ps_mainmenu.tpl @@ -4,7 +4,7 @@