UNPKG

domhandler2

Version:

handler for htmlparser2 that turns pages into a dom - modified to allow for attribute transforms and modifications

20 lines 324 B
{ "name": "Unquoted attributes", "options": {}, "html": "<font size= 14>the text</font>", "expected": [ { "type": "tag", "name": "font", "attribs": { "size": "14" }, "children": [ { "data": "the text", "type": "text" } ] } ] }