aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index 16596d7..e8c393c 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -24,7 +24,7 @@ function DocumentConverter(options) {
function convertToHtml(document) {
var messages = [];
- var html = new HtmlGenerator();
+ var html = new HtmlGenerator({prettyPrint: options.prettyPrint});
return promises.nfcall(elementToHtml, document, html, messages).then(function() {
html.closeAll();