From 9793af8582ba804b5e80fd7445abb6213b87be62 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 1 Apr 2013 12:56:26 +0100 Subject: Remove implicit call to closeAll in asString --- lib/documents.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/documents.js') 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() -- cgit v1.2.3