Rollbase adds extra escape backslashes \" to my JavaScr

Posted by Rollbase User on 10-Feb-2010 16:49

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\\"";

All Replies

Posted by Admin on 12-Feb-2010 08:47

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

This thread is closed