{
    "name": "Ignore empty tags (xml mode)",
    "options": {
        "xmlMode": true
    },
    "html": "<link>text</link>",
    "expected": [
        {
            "type": "tag",
            "name": "link",
            "attribs": {},
            "children": [
                {
                    "data": "text",
                    "type": "text"
                }
            ]
        }
    ]
}
