diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-06-09 22:32:30 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-06-20 12:06:19 +0100 |
| commit | ac3981df81148fad21c32b22496ecc145ad36e98 (patch) | |
| tree | cfba69d2fedb0cacc7d544749f199bd339a1c6ad /tests/document-to-html.tests.js | |
| parent | 8617c85c8626354fff63eeaeb775402715fe63a4 (diff) | |
Use simpler structure for HTML without fragments
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})]); }); } }); |
