29-comment_edge-cases.json 413 Bytes
{
  "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": [] }
  ]
}