cs142/project3/node_modules/domhandler/test/cases/06-comment_in_script.json

18 lines
323 B
JSON
Raw Normal View History

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