summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json
new file mode 100644
index 00000000..b69d04bd
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/14-comment_in_text_in_script.json
@@ -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