Page 1 of 1

description/%text% raw content

Posted: Mon Nov 26, 2007 4:10 pm
by Nib
So, I am using JavaScript to force line breaks of ling text strings like this:

Code: Select all

 mystring = "%text%";
mystring2 = mystring.split(".");
mystring3 = mystring2.join(".<wbr>");
document.write(mystring3);
However, this seems to clash with line breaks sent to the notification adding a

Code: Select all

>
as the first glyph after a line break.

Image

How does the raw string that %text%/description has look like? Looks like the JavaScript engine sees more than I anticipated it does.


Edit: Never mind, found the solution.