wallet-core/node_modules/htmlparser2/test/Events/10-crazy-attrib.json
2017-05-03 15:35:00 +02:00

52 lines
691 B
JSON

{
"name": "crazy attribute",
"options": {
"handler": {},
"parser": {}
},
"html": "<p <='' FAIL>stuff</p>",
"expected": [
{
"event": "opentagname",
"data": [
"p"
]
},
{
"event": "attribute",
"data": [
"<",
""
]
},
{
"event": "attribute",
"data": [
"fail",
""
]
},
{
"event": "opentag",
"data": [
"p",
{
"<": "",
"fail": ""
}
]
},
{
"event": "text",
"data": [
"stuff"
]
},
{
"event": "closetag",
"data": [
"p"
]
}
]
}