cs142/project2/node_modules/htmlparser2/test/Events/29-comment_edge-cases.json

18 lines
413 B
JSON
Raw Normal View History

2020-08-01 22:26:11 +00:00
{
"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": [] }
]
}