html-parser
html-parser copied to clipboard
Simple HTML to JSON parser use Regexp and String.indexOf
Results
2
html-parser issues
Sort by
recently updated
recently updated
newest added
遇到自闭合标签,解析后children只有一个子节点 ``` html` 开通{{type === 'audit' ? '审计日志' : '这两个'}}功能,需读取您的{{type === 'audit' ? '审计' : '运行'}}日志文件 测试{{test}}的点点滴滴{{sss}} ` ``` 输出: ``` {"tag":"root","children":[{"type":"Text","content":"\n \n "}]} ```
旧版本输出属性名根据微信文档改变,微信文档地址: https://mp.weixin.qq.com/debug/wxadoc/dev/component/rich-text.html