16 lines
234 B
JSON
16 lines
234 B
JSON
|
{
|
||
|
"name": "Enforce empty tags",
|
||
|
"options": {},
|
||
|
"html": "<link>text</link>",
|
||
|
"expected": [
|
||
|
{
|
||
|
"type": "tag",
|
||
|
"name": "link",
|
||
|
"attribs": {}
|
||
|
},
|
||
|
{
|
||
|
"data": "text",
|
||
|
"type": "text"
|
||
|
}
|
||
|
]
|
||
|
}
|