first commit
This commit is contained in:
52
build/node_modules/htmlparser2/test/Events/10-crazy-attrib.json
generated
vendored
Normal file
52
build/node_modules/htmlparser2/test/Events/10-crazy-attrib.json
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user