Closed Eagerod closed 8 years ago
Example failing input:
<a id=myid href="/page?query=thing"> some text </a>
Expected output:
[ { "dataType": "tag", "content": "a", "attributes": { "id": { "dataType": "attribute", "content": "myid" }, "href": { "dataType": "attribute", "content": "/page?query=thing" } }, "children": [ { "dataType": "text", "content": "some text" } ] } ]
Closed by #22
Example failing input:
Expected output: