I have a string that has new lines in. I am wanting to convert these to HTML s, but I\'m having a hard time detecting them.
Imagine a JavaScri
I think they using \n anyway even couse it not visible, or maybe they using \r. So just replace \n or \r with
\n
\r