aboutsummaryrefslogtreecommitdiff
path: root/lib/web.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-03-30 21:57:06 +0000
committerMichael Williamson <mike@zwobble.org>2013-03-30 21:57:06 +0000
commit49e22a72504df97195d82d4349f7e0f0fb0c8bb3 (patch)
tree8ccf3291fe33e503077e1044fc30f41e73e2593b /lib/web.js
parentd6e8f5801e036bf3adccf5d0d826f5e2f7f60bda (diff)
Add standard options for standard docx styles
Diffstat (limited to 'lib/web.js')
-rw-r--r--lib/web.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web.js b/lib/web.js
index 20bc44f..73e501d 100644
--- a/lib/web.js
+++ b/lib/web.js
@@ -46,7 +46,7 @@ function handleConvert(request, response, next) {
return next();
}
- var converter = new mammoth.Converter();
+ var converter = new mammoth.Converter(mammoth.standardOptions);
var uploadedDocument = request.files.document;
var documentPath = uploadedDocument.path
// TODO: remove duplication from index.js