Jump to content

Code html visible dans Block New Product


Wlieo

Recommended Posts

Bonjour,
Dans la description courte produit du block new products, du code html s'affiche au niveau du texte tronquer, exemple :

titre produit
description de mon

J'ai la ligne suivante dans mon fichier blocknewproducts.tpl :

{$newproduct.description_short|truncate:27:'..'|strip_tags|escape:html:'UTF-8'}



Comment faire disparaitre ce code, svp ?

Merci d'avance

Link to comment
Share on other sites

Dans la ligne de code :

{$newproduct.description_short|truncate:27:'..'|strip_tags|escape:html:'UTF-8'} 



j'ai supprimé : |escape:html:'UTF-8'

et l'affichage est correcte.

Je ne sais si c'est la bonne solution mais ca fonctionne.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...