20 lines
377 B
JSON
20 lines
377 B
JSON
|
{
|
||
|
"name": "Template script tags",
|
||
|
"options": {},
|
||
|
"html": "<script type=\"text/template\"><h1>Heading1</h1></script>",
|
||
|
"expected": [
|
||
|
{
|
||
|
"type": "script",
|
||
|
"name": "script",
|
||
|
"attribs": {
|
||
|
"type": "text/template"
|
||
|
},
|
||
|
"children": [
|
||
|
{
|
||
|
"data": "<h1>Heading1</h1>",
|
||
|
"type": "text"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|