.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / domhandler / test / cases / 19-ignore_empty_tags.json
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/19-ignore_empty_tags.json b/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/19-ignore_empty_tags.json
new file mode 100644 (file)
index 0000000..fe59cf9
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "name": "Ignore empty tags (xml mode)",
+  "options": {
+    "xmlMode": true
+  },
+  "html": "<link>text</link>",
+  "expected": [
+    {
+      "type": "tag",
+      "name": "link",
+      "attribs": {},
+      "children": [
+        {
+          "data": "text",
+          "type": "text"
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file