description/%text% raw content
Posted: Mon Nov 26, 2007 4:10 pm
So, I am using JavaScript to force line breaks of ling text strings like this:
However, this seems to clash with line breaks sent to the notification adding a as the first glyph after a line break.

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.
Code: Select all
mystring = "%text%";
mystring2 = mystring.split(".");
mystring3 = mystring2.join(".<wbr>");
document.write(mystring3);Code: Select all
>
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.