aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-01 12:56:26 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-01 12:56:26 +0100
commit9793af8582ba804b5e80fd7445abb6213b87be62 (patch)
treeab344a690b86060e2282118e681343dfb5e889ac /lib/documents.js
parentad75779025dd2fdae2eab851e1be1c6e5b8955ef (diff)
Remove implicit call to closeAll in asString
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()