diff options
Diffstat (limited to 'node_modules/htmlparser2/test/Events/16-double_attribs.json')
| -rw-r--r-- | node_modules/htmlparser2/test/Events/16-double_attribs.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/node_modules/htmlparser2/test/Events/16-double_attribs.json b/node_modules/htmlparser2/test/Events/16-double_attribs.json new file mode 100644 index 00000000..bed1d8f2 --- /dev/null +++ b/node_modules/htmlparser2/test/Events/16-double_attribs.json @@ -0,0 +1,45 @@ +{ + "name": "double attribute", + "options": { + "handler": {}, + "parser": {} + }, + "html": "<h1 class=test class=boo></h1>", + "expected": [ + { + "event": "opentagname", + "data": [ + "h1" + ] + }, + { + "event": "attribute", + "data": [ + "class", + "test" + ] + }, + { + "event": "attribute", + "data": [ + "class", + "boo" + ] + }, + { + "event": "opentag", + "data": [ + "h1", + { + "class": "test" + } + ] + }, + { + "event": "closetag", + "data": [ + "h1" + ] + } + ] +}
\ No newline at end of file |
