diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-02 17:14:31 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-02 17:14:31 +0100 |
| commit | 6a4cc9231f219c0047272c56081f881eab800d74 (patch) | |
| tree | a9631dfa47eb3db6a7060255e8b3042f3255756f /lib/document-to-html.js | |
| parent | 3afd698984f9ec3fcb9b16e5d6c12ea4a23dfb53 (diff) | |
Rename images.inline to images.imgElement
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 2 |
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 |
