debug for "unterminated string literal"

in
Subscribe to debug for "unterminated string literal" 2 posts, 2 voices



congxz6688 Scriptwright
FirefoxWindows

please replace
return (str+'').replace(/[\\"']/g, '\\$&').replace(/\u0000/g, '\\0')

to

return (str+'').replace(/[\\"']/g, '\\$&').replace(/\u0000/g, '\\0').replace(/\r/g,"").replace(/\n/g,"");

 
cecekpawon Script's Author
ChromeWindows

updated, thx for report