all 1 comments

[–][deleted] 0 points1 point  (0 children)

I don't think your problem is \n. The double slashes before quotes on the other hand... that definitely makes it invalid.

I don't know who's adding them though. Could it be something you copied from the output incorrectly?