anorgatarrak-wordpress-theme/node_modules/htmlparser2/test/Events/05-cdata-special.json

36 lines
564 B
JSON
Raw Normal View History

{
"name": "CDATA (inside special)",
"options": {
"handler": {},
"parser": {}
},
"html": "<script>/*<![CDATA[*/ asdf ><asdf></adsf><> fo/*]]>*/</script>",
"expected": [
{
"event": "opentagname",
"data": [
"script"
]
},
{
"event": "opentag",
"data": [
"script",
{}
]
},
{
"event": "text",
"data": [
"/*<![CDATA[*/ asdf ><asdf></adsf><> fo/*]]>*/"
]
},
{
"event": "closetag",
"data": [
"script"
]
}
]
}