You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.
您好,我在使用时发现该插件会将中文修改为unicode编码,而在index.js中cheerio.load方法下添加参数:decodeEntities: false,可以避免这个问题
var $ = cheerio.load(data[key], {
ignoreWhitespace: false,
xmlMode: false,
lowerCaseTags: false,
decodeEntities: false
});
参考:https://cnodejs.org/topic/54bdd639514ea9146862ac37, 不知道可不可以修改一下此处。
The text was updated successfully, but these errors were encountered: