clampdown Posted April 14, 2016 Share Posted April 14, 2016 Hello,I'm having a strange issue with <br/> line breaks appearing on my Manafacturer long description.The code on manufacturer.tpl is: {$manufacturer->description} No line breaks are appearing in CMS pages or product pages. :S PS version 1.6.0.14 Link to comment Share on other sites More sharing options...
clampdown Posted April 18, 2016 Author Share Posted April 18, 2016 Anybody have any ideas? Link to comment Share on other sites More sharing options...
tuk66 Posted April 18, 2016 Share Posted April 18, 2016 The description can contain HTML code, so you probably have line breaks there. Link to comment Share on other sites More sharing options...
clampdown Posted April 19, 2016 Author Share Posted April 19, 2016 Hello,Thanks for the reply... unfortunately the HTML code doesn't contain any <br/> tags - For example i'm using the bootstrap grid system.. <div class="row"> <div class="col-md-6">.col-md-6</div> <div class="col-md-6">.col-md-6</div> </div> This basic bootstrap code works great on CMS pages and product pages, yet on manufacturer descriptions it outputs in the browser as the following: <div class="row"><br/> <div class="col-md-6">.col-md-6</div><br/> <div class="col-md-6">.col-md-6</div><br/> </div><br/> Now, I realise that a div is a new block / element and should have it's own line, however the <br/> tag doesn't appear on any CMS pages or product pages with the same html code :S Link to comment Share on other sites More sharing options...
clampdown Posted May 16, 2016 Author Share Posted May 16, 2016 Hello, I'm still having this issue....I've just checked .... controllers > admin > AdminManufacturersController.php array( 'type' => 'textarea', 'label' => $this->l('Description'), 'name' => 'description', 'lang' => true, 'cols' => 60, 'rows' => 10, 'col' => 6, 'autoload_rte' => 'rte', //Enable TinyMCE editor for description 'hint' => $this->l('Invalid characters:').' <>;=#{}' ), Can't find how to solve this issue... any ideas? - Thanks in advance 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