summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/page/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/page/index.js b/lib/page/index.js
index 2bdc951..c4d2721 100644
--- a/lib/page/index.js
+++ b/lib/page/index.js
@@ -152,8 +152,7 @@ Page.prototype.toHTML = function(output) {
.then(function() {
return that.parser.page(that.content)
.then(function(out) {
- var content = _.pluck(out.sections, 'content').join('\n');
- that.update(content);
+ that.update(out.content);
});
})