UNPKG

domhandler2

Version:

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

18 lines 279 B
{ "name": "XML Namespace", "options": {}, "html": "<ns:tag>text</ns:tag>", "expected": [ { "type": "tag", "name": "ns:tag", "attribs": {}, "children": [ { "data": "text", "type": "text" } ] } ] }