How would I do this? I tried using something simple like String.replace("An actual tab here."," ") but it doesn't work.
Also I tried using the same with String.replace("\n","<br>") with no luck there either.
If I use the javascript's alert() function it does show my string correctly with tabs and new lines though, I'm assuming because it uses the text's actual formatting properly where-as in html it basically discards them for display purposes.