Liigo's HTML parser for C++, a fast & simple node-based HTML text parser.
Stars
48
Forks
24
Watchers
48
Open Issues
0
Overall repository health assessment
No package.json found
This might not be a Node.js project
48
commits
<textarea>和</textarea>之间的任意文本(包括各种标签)都被视为普通文本,不会解析为HTML标签。如此处理才符合HTML标准。
2640636View on GitHubadd HTML5 elements tag type (such as TAG_VIDEO), comes from http://www.w3.org/TR/html5/section-index.html#elements-1
1ba64f4View on GitHubparseHtml()必然会额外添加一个NODE_UNKNOWN节点(HtmlNode.type==NODE_UNKNOWN)作为所有节点的终结标记。以便于使用while循环遍历节点,参见enumnodes()(in file test-html-parser.cpp)
05442d3View on GitHub