We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e882e commit 3c92647Copy full SHA for 3c92647
test/issues/213.coffee
@@ -0,0 +1,11 @@
1
+suite 'Tests specific to issues:', ->
2
+ test 'Issue #213: importDocument created from begin()', ->
3
+ boldDoc = xml('b').text('Hello World')
4
+ doc = doc().importDocument(boldDoc)
5
+ main = xml({ headless: true }, 'p').importDocument(doc)
6
+
7
+ eq(
8
+ main.end()
9
+ '<p><b>Hello World</b></p>'
10
+ )
11
0 commit comments