first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
{
"name": "Self-closing tags",
"options": {
"handler": {
},
"parser": {
}
},
"html": "<a href=http://test.com/>Foo</a><hr / >",
"expected": [
{
"event": "opentagname",
"data": [
"a"
]
},
{
"event": "attribute",
"data": [
"href",
"http://test.com/"
]
},
{
"event": "opentag",
"data": [
"a",
{
"href": "http://test.com/"
}
]
},
{
"event": "text",
"data": [
"Foo"
]
},
{
"event": "closetag",
"data": [
"a"
]
},
{
"event": "opentagname",
"data": [
"hr"
]
},
{
"event": "opentag",
"data": [
"hr",
{}
]
},
{
"event": "closetag",
"data": [
"hr"
]
}
]
}