diff options
Diffstat (limited to 'lib/browser.js')
| -rw-r--r-- | lib/browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/browser.js b/lib/browser.js index 695f5dc..a9b9dbd 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -23,7 +23,7 @@ function convertArrayBufferToHtml(arrayBuffer, options, callback) { try { var file = openFile(arrayBuffer); var result = mammoth.read({file: file}).then(function(documentResult) { - var options = mammoth.standardOptions; + options = options || mammoth.standardOptions; return mammoth.convertDocumentToHtml(documentResult, options); }); satisfyCallback(result, callback); |
