cs142/project3/node_modules/domhandler/test/cases/06-comment_in_script.json
2020-08-01 19:26:11 -03:00

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