cs142/project2/node_modules/htmlparser2/test/Events/24-special_special.json
2020-08-01 19:26:11 -03:00

134 lines
1.8 KiB
JSON

{
"name": "Special special tags",
"options": {},
"html": "<sCriPT></scripter</soo</sCript><STyLE></styler</STylE><sCiPt><stylee><scriptee><soo>",
"expected": [
{
"event": "opentagname",
"data": [
"script"
]
},
{
"event": "opentag",
"data": [
"script",
{}
]
},
{
"event": "text",
"data": [
"</scripter</soo"
]
},
{
"event": "closetag",
"data": [
"script"
]
},
{
"event": "opentagname",
"data": [
"style"
]
},
{
"event": "opentag",
"data": [
"style",
{}
]
},
{
"event": "text",
"data": [
"</styler"
]
},
{
"event": "closetag",
"data": [
"style"
]
},
{
"event": "opentagname",
"data": [
"scipt"
]
},
{
"event": "opentag",
"data": [
"scipt",
{}
]
},
{
"event": "opentagname",
"data": [
"stylee"
]
},
{
"event": "opentag",
"data": [
"stylee",
{}
]
},
{
"event": "opentagname",
"data": [
"scriptee"
]
},
{
"event": "opentag",
"data": [
"scriptee",
{}
]
},
{
"event": "opentagname",
"data": [
"soo"
]
},
{
"event": "opentag",
"data": [
"soo",
{}
]
},
{
"event": "closetag",
"data": [
"soo"
]
},
{
"event": "closetag",
"data": [
"scriptee"
]
},
{
"event": "closetag",
"data": [
"stylee"
]
},
{
"event": "closetag",
"data": [
"scipt"
]
}
]
}