tenebrous-dicebot/api/node_modules/domhandler/test/cases/06-comment_in_script.json

18 lines
323 B
JSON

{
"name": "Script source in comment",
"options": {},
"html": "<script><!--var foo = 1;--></script>",
"expected": [
{
"type": "script",
"name": "script",
"attribs": {},
"children": [
{
"data": "<!--var foo = 1;-->",
"type": "text"
}
]
}
]
}