enVide Posted January 25, 2012 Share Posted January 25, 2012 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> 1 Link to comment Share on other sites More sharing options...
Nikpro Posted January 27, 2012 Share Posted January 27, 2012 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 More sharing options...
blueraccoon Posted February 22, 2013 Share Posted February 22, 2013 This is great, but does anyone know how to get the new line to also have an indent? At the moment there is none. Cheers. 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