cs142/project3/node_modules/htmlparser2/test/Events/10-crazy-attrib.json

52 lines
695 B
JSON
Raw Normal View History

2020-08-01 22:26:11 +00:00
{
"name": "crazy attribute",
"options": {
"handler": {},
"parser": {}
},
"html": "<p < = '' FAIL>stuff</p><a",
"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"
]
}
]
}