问题
I have imacros go on a webpage and download the extraction as an html file. But for some reason it is writing doubles quotes inside the file breaking links. How to fix this?
EXAMPLE:
回答1:
Use JavaScript or EVAL
the code is text=text.replace(/""/g,'"');
http://wiki.imacros.net/EVAL
Edit:
Try this out to:
text=text.replace(/\"\"/g,'"');
Some special characters are written like this \s \n \r /
来源:https://stackoverflow.com/questions/17047225/imacros-writing-double-quotes-to-html-file-why