diff options
Diffstat (limited to 'tests/document-to-html.tests.js')
| -rw-r--r-- | tests/document-to-html.tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
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})]); }); } }); |
