aboutsummaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-09-10 15:55:27 +0100
committerMichael Williamson <mike@zwobble.org>2025-09-10 15:55:27 +0100
commit1494d3c3a6283a00701ac452b8a9a5f8f2f4e9dd (patch)
tree4e4467490b883fe075094a25ba28f05e62d21393 /lib/index.js
parent162324eb530d781aa59acce597997646ee59d1eb (diff)
Support disabling external file access
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index 03302c2..48dfb91 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -39,7 +39,7 @@ function convert(input, options) {
});
})
.then(function(docxFile) {
- return docxReader.read(docxFile, input)
+ return docxReader.read(docxFile, input, options)
.then(function(documentResult) {
return documentResult.map(options.transformDocument);
})