aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/documents.js')
-rw-r--r--lib/documents.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/documents.js b/lib/documents.js
index ba2e8ec..1b52bf4 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -19,6 +19,7 @@ function DocumentConverter(options) {
function convertToHtml(document) {
var html = new HtmlGenerator();
elementToHtml(document, html);
+ html.closeAll();
return q.when({
html: html.asString()