moy2010 Posted October 5, 2015 Share Posted October 5, 2015 Hi, Prestashop community. I'm having a weird issue with my prestashop store that I hope you can help me out to solve it.The problem is that the rendered HTML code is different than what I enter in the tinyMCE editor. For example:<div>something</div> becomes: <div><br><something<br></div> So, for some reason the store is putting those line breaks from I-don't-know-where and this is only happening in the manufacturer's description. If I enter the exact same code in, let's say, category description, it's rendered as it should.Any ideas? Some weird smarty variable, perhaps? Link to comment Share on other sites More sharing options...
jsilgo Posted November 15, 2015 Share Posted November 15, 2015 in themes/XXXXXXX/manufacturer.tpl change: {$manufacturer->description} for: {$manufacturer->description|replace:"<br />":""} 1 Link to comment Share on other sites More sharing options...
moy2010 Posted December 22, 2015 Author Share Posted December 22, 2015 Great, it worked! . Thx, m8! 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