diff --git a/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl b/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl index f1796855f..eb3e9e32b 100644 --- a/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl +++ b/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl @@ -33,7 +33,7 @@ $('document').ready(function() var parent = $(this).parent().parent(); $.ajax({ - url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}", + url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)|escape:'htmlall':'UTF-8'}", type: "POST", data: { 'id_product': idFavoriteProduct @@ -53,7 +53,11 @@ $('document').ready(function() }); -{capture name=path}{l s='My account' mod='favoriteproducts'}{$navigationPipe}{l s='My favorite products' mod='favoriteproducts'}{/capture} +{capture name=path} + + {l s='My account' mod='favoriteproducts'} + {$navigationPipe}{l s='My favorite products' mod='favoriteproducts'} +{/capture} {include file="$tpl_dir./breadcrumb.tpl"}
@@ -62,9 +66,10 @@ $('document').ready(function()
{foreach from=$favoriteProducts item=favoriteProduct}
- -

{$favoriteProduct.name}

-
{$favoriteProduct.description_short}
+ + +

{$favoriteProduct.name|escape:'htmlall':'UTF-8'}

+
{$favoriteProduct.description_short|escape:'htmlall':'UTF-8'}
\ No newline at end of file diff --git a/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl b/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl index 9da6adc5e..4f33c7b51 100755 --- a/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl +++ b/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl @@ -25,7 +25,7 @@ *} diff --git a/modules/favoriteproducts/views/templates/hook/my-account.tpl b/modules/favoriteproducts/views/templates/hook/my-account.tpl index 15d0e12b1..04f44b5a7 100644 --- a/modules/favoriteproducts/views/templates/hook/my-account.tpl +++ b/modules/favoriteproducts/views/templates/hook/my-account.tpl @@ -25,7 +25,7 @@ *}
  • - + {l s='My favorite products' mod='favorite products'}