Jump to content

Line Breaks appearing on Manufacturer Pages


clampdown

Recommended Posts

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

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

  • 4 weeks later...

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

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