From 6a4cc9231f219c0047272c56081f881eab800d74 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 2 Apr 2016 17:14:31 +0100 Subject: Rename images.inline to images.imgElement --- lib/document-to-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/document-to-html.js') 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 -- cgit v1.2.3