We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,如果
function trimHtml(html) { return html .replace(/\n+/g, '') .replace(/<!--.*?-->/ig, '') .replace(/\/\*.*?\*\//ig, '') .replace(/[ ]+</ig, '<') } function html2json(html, bindName) { //处理字符串 html = removeDOCTYPE(html); html = trimHtml(html); html = wxDiscode.strDiscode(html); ... }
The text was updated successfully, but these errors were encountered:
谢谢反馈 我看下加入
Sorry, something went wrong.
956eb4b
Successfully merging a pull request may close this issue.
如题,如果
我的处理方法是在html2json.js里边把空格什么的去掉了。
pr就不提了,debug了一晚,心累
The text was updated successfully, but these errors were encountered: