aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/document-to-html.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index 916eb57..9951cbb 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -87,6 +87,7 @@ function DocumentConverter(options) {
},
"image": function(element, html) {
return element.read().then(function(imageBuffer) {
+ // TODO: set alt attribute to wp:inline/wp:docPr/@descr
var src = "data:image/png;base64," + imageBuffer.toString("base64");
html.selfClosing(styles.element("img", {"src": src}))
});