anorgatarrak-wordpress-theme/node_modules/htmlparser2/test/Events/29-comment_edge-cases.json

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": [] }
]
}