Diemux Posted January 7, 2021 Share Posted January 7, 2021 (edited) We are using a custom theme, we used to be able to show HTML in the short description by removing strip_tags from: <div class="product-description"> {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} </div> so that becomes: <div class="product-description"> {$product.description_short} </div> But now I just see the description with the HTML tags written out as text: <p>Lorem ipsum<br /><br />random text to test</p> What am I missing? Is there some JS I need to alter? Can't find anything in the theme JS. SOLUTION: ADD "nofilter" tag as below: {$product.description_short nofilter} Edited January 7, 2021 by Diemux Added resolved tag (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 7, 2021 Share Posted January 7, 2021 Hi, please add the nofilter to the smart variable, so it becomescames like this: {$product.description_short nofilter} Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
Diemux Posted January 7, 2021 Author Share Posted January 7, 2021 Great, thank you Leo for the really quick solution! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now