summaryrefslogtreecommitdiffstats
path: root/lib/generate/site/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-11-03 17:29:54 +0100
committerSamy Pessé <samypesse@gmail.com>2014-11-03 17:29:54 +0100
commit195374eceeb5812df3c14ee5fdb88ed7f3310a2b (patch)
treeb06b57877ebe4e89d45e850bde3d2c3c0064f687 /lib/generate/site/index.js
parent1659778a776747f0e83c77cb8de7d038ff9072b7 (diff)
parent1502d65286eb36a76b8d0016f7bad64b9bf9f39f (diff)
downloadgitbook-195374eceeb5812df3c14ee5fdb88ed7f3310a2b.zip
gitbook-195374eceeb5812df3c14ee5fdb88ed7f3310a2b.tar.gz
gitbook-195374eceeb5812df3c14ee5fdb88ed7f3310a2b.tar.bz2
Merge pull request #489 from codepiano/fork
bugfix,init page object's lexed attribute.
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r--lib/generate/site/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index 5d2aee6..47d09f2 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -120,7 +120,7 @@ Generator.prototype.prepareFile = function(content, _input) {
.then(function() {
// Lex, parse includes and get
// Get HTML generated sections
- return parse.page(page.content, {
+ return parse.page(page, {
// Local files path
dir: path.dirname(_input) || '/',