I have tried using !!< <br> >!! but with no success.
I am merely trying to force a new line on the title.
Can anyone advise?
Thanks
I am merely trying to force a new line on the title.
Can anyone advise?
Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Spitting a long string with script example</title> </head> <body> <h2 id="mylongtitle">This is my long title | That I want to split!</h2> <script> var myhtml = document.getElementById('mylongtitle').innerHTML document.getElementById('mylongtitle').innerHTML = myhtml.replace("|", "<br>") </script> </body> </html>
<Actinic:Variable Name="ProductName"/>
<actinic:block php="true">echo str_replace('&#46; ', '.<br/>', '<Actinic:Variable Name="ProductName" selectable="false" />');</actinic:block>
Comment