Jump to content

enVide

Recommended Posts

In order to have your features presented with linebreaks you should use "nl2br".

 

At your theme folder, on your "product.tpl" file, replace

<li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li>

 

with

<li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {nl2br($feature.value|escape:'htmlall':'UTF-8')}</li>

  • Like 1
Link to comment
Share on other sites

In order to have your features presented with linebreaks you should use "nl2br".

 

At your theme folder, on your "product.tpl" file, replace

<li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li>

 

with

<li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {nl2br($feature.value|escape:'htmlall':'UTF-8')}</li>

 

this put an image - the difference features

Link to comment
Share on other sites

  • 1 year later...

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