description/%text% raw content

The Growl forums have moved to Google Groups, this forum is read only.
Locked
Nib
Muffin
Posts: 29
Joined: Wed Dec 14, 2005 12:40 pm
Location: Sweden
Contact:

description/%text% raw content

Post 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.
Locked