Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor
Basically I am pulling a large string from a database for example:
"This is my string I am getting from the database
It also contains new line characters"
gergoe msg:3552151 10:35 pm on Jan 18, 2008 (gmt 0)
See the list of (other)
Ryan, what language are you using to get the data from the database and write the JS?
If you are in Perl you can easily fix this with a couple of regex's...
## To remove UNIX/MAC newline charaters... s/\r//g;
## To change linebreaks into actual linebreak escapes...
You could also use this for other escape characters.