View Full Version : Merchant 1736 - The Toy Shop
Great to see these here but can someone point out to them that the html is showing in the product descriptions.
eg.
<p>A revolution in indoor play! It's a stationary bike, a gaming system and a learning centre - all rolled into one!</p>
Thanks
IntroSites
19-10-07, 23:25
use strip_tags:false in your templates to remove all html
if you mean it displays <p> etc then you will need to remove the entities, you can add |replace:"<":"<"|replace:">":">" to the description tag (after strip_tags:false) that should sort it for now
Given the huge variety of data in the description field; html, plain text, entity encoded/not encoded etc, etc. it's becoming less and less simple to clean the text.
Although there appears to be a clear order in which to clean text I haven't yet managed to find a 100% successful solution. In this case I would be happy for The Toy Shop just to lose the <p> tags in their descriptions cos when I tried to remove them it just caused knock on problems with other descriptions which are now 99% clean.
Can someone please pass this on to the Toy Shop because their descriptions look bad.
Having looked into this further The Toy Shop have included html markup in their descriptions and then entity encoded them thus making the html tags text and not html. This is just stupid.
Encode everything first and then add html markup, or even better, don't add html.
Hi Guys,
Thanks for letting me know about this, will get in contact with the Merchant shortly and reply back to this thread.
Adrian
SW Integration & Technical Support
adrian.botelho@digitalwindow.com
www.digitalwindow.com