compound-ex4
Version:
Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)
38 lines • 710 B
JSON
{
"name": "entity in attribute",
"options": {
"handler": {},
"parser": {"decodeEntities": true}
},
"html": "<a href='http://example.com/page?param=value¶m2¶m3=<val&; & &'>",
"expected": [
{
"event": "opentagname",
"data": [
"a"
]
},
{
"event": "attribute",
"data": [
"href",
"http://example.com/page?param=value¶m2¶m3=<val&; & &"
]
},
{
"event": "opentag",
"data": [
"a",
{
"href": "http://example.com/page?param=value¶m2¶m3=<val&; & &"
}
]
},
{
"event": "closetag",
"data": [
"a"
]
}
]
}