18 lines
323 B
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |