From ac3981df81148fad21c32b22496ecc145ad36e98 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 9 Jun 2016 22:32:30 +0100 Subject: Use simpler structure for HTML without fragments --- tests/document-to-html.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/document-to-html.tests.js') diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index 103b921..cca4d7f 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -530,7 +530,7 @@ describe('DocumentConverter', function() { var converter = new DocumentConverter({ convertImage: function(element, messages, callback) { element.read("utf8").then(function(altText) { - callback(null, Html.selfClosingElement("img", {alt: altText})); + callback(null, [Html.selfClosingElement("img", {alt: altText})]); }); } }); -- cgit v1.2.3