Imacros将双引号写入html文件,为什么? [英] Imacros Writing Double Quotes to html File, why?

查看:58
本文介绍了Imacros将双引号写入html文件,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我让imacros进入网页,然后将提取的内容下载为html文件.但是由于某种原因,它在文件断开链接内编写了双引号.该如何解决?

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?

示例:

推荐答案

使用JavaScript或EVAL

Use JavaScript or EVAL

代码为text=text.replace(/""/g,'"');

http://wiki.imacros.net/EVAL

尝试一下:

text=text.replace(/\"\"/g,'"');

这样写一些特殊字符\ s \ n \ r/

Some special characters are written like this \s \n \r /

这篇关于Imacros将双引号写入html文件,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆