showing results for - "js tostring adds backslash"
Lyana
07 Jan 2018
1var x = "<div class=\\\"abcdef\\\">";
2x = x.replace(/\\"/g, '"');
3document.body.appendChild(
4  document.createTextNode("After: " + x)
5);