.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / domhandler / test / cases / 14-comment_in_text_in_script.json
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json b/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json
new file mode 100644 (file)
index 0000000..b69d04b
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "name": "Comment within text within script",
+  "options": {},
+  "html": "<script>this is <!-- the comment --> the text</script>",
+  "expected": [
+    {
+      "type": "script",
+      "name": "script",
+      "attribs": {},
+      "children": [
+        {
+          "data": "this is <!-- the comment --> the text",
+          "type": "text"
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file