aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index 83c3b5f..c084403 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -159,7 +159,7 @@ function DocumentConversion(options) {
}
}
- var defaultConvertImage = images.inline(function(element) {
+ var defaultConvertImage = images.imgElement(function(element) {
return element.read("base64").then(function(imageBuffer) {
return {
src: "data:" + element.contentType + ";base64," + imageBuffer