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,62 @@
{
"name": "Entities in attributes",
"options": {
"handler": {},
"parser": {"decodeEntities": true}
},
"html": "<foo bar=&amp; baz=\"&amp;\" boo='&amp;' noo=>",
"expected": [
{
"event": "opentagname",
"data": [
"foo"
]
},
{
"event": "attribute",
"data": [
"bar",
"&"
]
},
{
"event": "attribute",
"data": [
"baz",
"&"
]
},
{
"event": "attribute",
"data": [
"boo",
"&"
]
},
{
"event": "attribute",
"data": [
"noo",
""
]
},
{
"event": "opentag",
"data": [
"foo",
{
"bar": "&",
"baz": "&",
"boo": "&",
"noo": ""
}
]
},
{
"event": "closetag",
"data": [
"foo"
]
}
]
}