wallet-core/node_modules/htmlparser2/test/Events/04-cdata.json
2017-05-03 15:35:00 +02:00

43 lines
634 B
JSON

{
"name": "CDATA",
"options": {
"handler": {},
"parser": {"xmlMode": true}
},
"html": "<tag><![CDATA[ asdf ><asdf></adsf><> fo]]></tag>",
"expected": [
{
"event": "opentagname",
"data": [
"tag"
]
},
{
"event": "opentag",
"data": [
"tag",
{}
]
},
{
"event": "cdatastart",
"data": []
},
{
"event": "text",
"data": [
" asdf ><asdf></adsf><> fo"
]
},
{
"event": "cdataend",
"data": []
},
{
"event": "closetag",
"data": [
"tag"
]
}
]
}