cs142/project2/node_modules/htmlparser2/test/Events/22-double_brackets.json

42 lines
606 B
JSON
Raw Normal View History

2020-08-01 22:26:11 +00:00
{
"name": "double brackets",
"options": {
"handler": {},
"parser": {}
},
"html": "<<princess-purpose>>testing</princess-purpose>",
"expected": [
{
"event": "text",
"data": [
"<"
]
},
{
"event": "opentagname",
"data": [
"princess-purpose"
]
},
{
"event": "opentag",
"data": [
"princess-purpose",
{}
]
},
{
"event": "text",
"data": [
">testing"
]
},
{
"event": "closetag",
"data": [
"princess-purpose"
]
}
]
}