ebrehault / resurrectio

CasperJS test recorder Chrome extension
GNU General Public License v2.0
721 stars 106 forks source link

possible fix for escaping of quotes around string #23

Closed thinkstylestudio closed 9 years ago

thinkstylestudio commented 9 years ago

There should a more eloquent way of doing this but by doing the escaping before adding the string quotes prevents the string quotes from accidentally getting escaped creating a syntax error in the output code.