Why does Rollbase put extra escape slashes in my Javascript when I try to edit the script component? For example, I have something like:
var aStringWithQuotes = "Foo \"Bar\"";
I want aStringWithQuotes to = Foo"Bar", however when I go back to the page to Edit the Javascript, RB adds additional escape slashes:
var aStringWithQuotes = "Foo \\"Bar\\"";
Hi Mike,
I do not recall the reason for this decision at the moment but we will get back to you on this shortly here.
Thanks,
Matt