douglascrockford/JSMin — Issue #6: Linefeeds in Javascript Strings
Author: raveN1
Created: 2012-01-16 11:57:42+00:00
State: open

Hey there,

I'm using JSMin for a few minutes and have a problem:
If my Javascript Code contains a string like
"I am a string\n"

JSMin places a Linefeed in the output instead of just leaving the \n in the String. So it is not replacing it, it outputs it which causes the line feed, which itself causes a Javascript-Error in the Browser "not terminating string literal"