wallet-core/node_modules/htmlparser2/test/Events/05-cdata-special.json

36 lines
564 B
JSON
Raw Normal View History

2017-05-03 15:35:00 +02:00
{
"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"
]
}
]
}