diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-14 23:05:37 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-14 23:05:37 +0100 |
commit | d6bd4a0d67dd2f61e667aefebf96e279f607ce54 (patch) | |
tree | d5a4a12654c6775a1a8924a0b65cff6195fb18b9 /lib/page | |
parent | 8628c87be479015b204520bb058b0cc823859d70 (diff) | |
download | gitbook-d6bd4a0d67dd2f61e667aefebf96e279f607ce54.zip gitbook-d6bd4a0d67dd2f61e667aefebf96e279f607ce54.tar.gz gitbook-d6bd4a0d67dd2f61e667aefebf96e279f607ce54.tar.bz2 |
Add test for file variables in templating
Diffstat (limited to 'lib/page')
-rw-r--r-- | lib/page/index.js | 5 |
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; }); }; |