diff options
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/11-text_outside_tags.json')
-rw-r--r-- | bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/11-text_outside_tags.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/11-text_outside_tags.json b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/11-text_outside_tags.json new file mode 100644 index 00000000..d3285726 --- /dev/null +++ b/bin/wiki/ImportarDesdeURL/node_modules/domhandler/test/cases/11-text_outside_tags.json @@ -0,0 +1,40 @@ +{ + "name": "Text outside tags", + "options": {}, + "html": "Line one\n<br>\nline two", + "expected": [ + { + "data": "Line one\n", + "type": "text", + "prev": null, + "next": { + "type": "tag", + "name": "br", + "attribs": {} + } + }, + { + "type": "tag", + "name": "br", + "attribs": {}, + "prev": { + "data": "Line one\n", + "type": "text" + }, + "next": { + "data": "\nline two", + "type": "text" + } + }, + { + "data": "\nline two", + "type": "text", + "prev": { + "type": "tag", + "name": "br", + "attribs": {} + }, + "next": null + } + ] +}
\ No newline at end of file |