Jump to content

How strip_tags,strip only text but keep images in product-list.tpl


amnesiak

Recommended Posts

Hi,

 

I inserted the image in short description in product.tpl. The picture shows in short description.

Now I would like to display that image in product-list.tpl short description also

 

By default the product-list.tpl code strips html tags

If I remove strip_tags:'UTF-8' code I achieve to display image, but that messes position of some product pictures in other categories.

 

So the question is, is it possible to strip only text but keep the image in product-list.tpl?

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...