cs142/project3/node_modules/htmlparser2/test/Events/29-comment_edge-cases.json
2020-08-01 19:26:11 -03:00

18 lines
413 B
JSON

{
"name": "Comment edge-cases",
"options": {},
"html": "<!-foo><!-- --- --><!--foo",
"expected": [
{
"event": "processinginstruction",
"data": [
"!-foo",
"!-foo"
]
},
{ "event": "comment", "data": [ " --- " ] },
{ "event": "commentend", "data": [] },
{ "event": "comment", "data": [ "foo" ] },
{ "event": "commentend", "data": [] }
]
}