Page 1 of 1

Text to html script conversion

PostPosted: Sun Mar 11, 2018 3:10 pm
by konetkar500
Hi,
I have really been struggling with the following.

<li><img src="images/thumbs/188.jpg" data-large="images/fulls/188.jpg" data-description="Coffee table foot stool £90 H 40cm W 123cm D 43cm" /></a></li>

I need to have the text on two lines.

<br> didnt work as it was just shown in the text as opposed to breaking it.

So Coffee table foot stool H W D becomes

Coffee table foot stool
H W D

I welcome any advice to achieve this.

Can javascript convert the current data description text to html ?

Re: Text to html script conversion

PostPosted: Fri Apr 26, 2019 5:34 am
by andy123
Thanks for sharing the information about text to html conversion information.