summaryrefslogtreecommitdiffstats
path: root/lib/page/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/page/index.js')
-rw-r--r--lib/page/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/page/index.js b/lib/page/index.js
index 51416f0..54255dd 100644
--- a/lib/page/index.js
+++ b/lib/page/index.js
@@ -173,6 +173,11 @@ Page.prototype.toHTML = function(output) {
return pipeline.output()
.then(that.update);
+ })
+
+ // Return content itself
+ .then(function() {
+ return that.content;
});
};