{ | |
"name": "Comment within text within script", | |
"options": {}, | |
"html": "<script>this is <!-- the comment --> the text</script>", | |
"expected": [ | |
{ | |
"type": "script", | |
"name": "script", | |
"attribs": {}, | |
"children": [ | |
{ | |
"data": "this is <!-- the comment --> the text", | |
"type": "text" | |
} | |
] | |
} | |
] | |
} |