We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b493b8 commit d2b6a94Copy full SHA for d2b6a94
1 file changed
test/parse.js
@@ -472,6 +472,13 @@ test('parse', function (t) {
472
voidElement: false,
473
children: []
474
}], 'should ignore nested HTML comments');
475
+
476
+ html = 'Hello, world!';
477
+ parsed = HTML.parse(html);
478
+ t.deepEqual(parsed, [{
479
+ type: 'text',
480
+ content: 'Hello, world!'
481
+ }], 'should handle just text');
482
t.end();
483
});
484
0 commit comments