html-parse-stringify2
html-parse-stringify2 copied to clipboard
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
The 'autofill' attribute is correctly parsed but the 'required' attribute is missing.
there is a problem with parse.js line 67: byTag[current.tagName] = current; current.tagName is always undefined. In parse-tag.js line 33 the property 'name' is set not tagName as referenced above: res.name...
This doesn't parse as you would expect it to... ``` html Level One Level Two ```