From 550ee435e8b1262025ff48d1cfd4632889b91ac8 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 18 Apr 2013 16:39:33 -0300 Subject: [PATCH] // Fixed truncate / escape order --- themes/default/product-list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/product-list.tpl b/themes/default/product-list.tpl index 344c743cc..0e4185b3d 100644 --- a/themes/default/product-list.tpl +++ b/themes/default/product-list.tpl @@ -41,7 +41,7 @@ {$product.legend|escape:'htmlall':'UTF-8'} {if isset($product.new) && $product.new == 1}{l s='New'}{/if} -

{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}

+

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}