12
I found it!
After some digging, I found you have to replace "\r" also.
so, the entire function looks like...
le="color: #000000"><?php function XK_removeLineBreaks(text) { //delete useless n and t text = text.replace(/r/g," "); text = text.replace(/n/g," "); text = text.replace(/t/gi,""); return text; };
I added the non-breaking space just to make sure...