summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json
new file mode 100644
index 00000000..9a21cdab
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/06-comment_in_script.json
@@ -0,0 +1,18 @@
+{
+ "name": "Script source in comment",
+ "options": {},
+ "html": "<script><!--var foo = 1;--></script>",
+ "expected": [
+ {
+ "type": "script",
+ "name": "script",
+ "attribs": {},
+ "children": [
+ {
+ "data": "<!--var foo = 1;-->",
+ "type": "text"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file