anorgatarrak-wordpress-theme/node_modules/htmlparser2/test/Stream/01-basic.json

83 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "Basic html",
"options": {},
"file": "Basic.html",
"expected": [
{
"event": "processinginstruction",
"data": [
"!doctype",
"!DOCTYPE html"
]
},
{
"event": "opentagname",
"data": [
"html"
]
},
{
"event": "opentag",
"data": [
"html",
{}
]
},
{
"event": "opentagname",
"data": [
"title"
]
},
{
"event": "opentag",
"data": [
"title",
{}
]
},
{
"event": "text",
"data": [
"The Title"
]
},
{
"event": "closetag",
"data": [
"title"
]
},
{
"event": "opentagname",
"data": [
"body"
]
},
{
"event": "opentag",
"data": [
"body",
{}
]
},
{
"event": "text",
"data": [
"Hello world"
]
},
{
"event": "closetag",
"data": [
"body"
]
},
{
"event": "closetag",
"data": [
"html"
]
}
]
}