summaryrefslogtreecommitdiffstats
path: root/lib/output/createTemplateEngine.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-04-25 11:58:55 +0200
committerSamy Pessé <samypesse@gmail.com>2016-04-25 11:58:55 +0200
commitf6e123f1ed36019a2ec5da1f97b27d22352b689a (patch)
tree326670b5cf1ff0cbdfbcd35d53f12fb858f874b2 /lib/output/createTemplateEngine.js
parente1e4e7f01177d968e63f0b3a1830eda1adacb56b (diff)
downloadgitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.zip
gitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.tar.gz
gitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.tar.bz2
Add base rendering for template
Diffstat (limited to 'lib/output/createTemplateEngine.js')
-rw-r--r--lib/output/createTemplateEngine.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/createTemplateEngine.js b/lib/output/createTemplateEngine.js
index 27dbeba..fbf39d3 100644
--- a/lib/output/createTemplateEngine.js
+++ b/lib/output/createTemplateEngine.js
@@ -25,7 +25,7 @@ function createTemplateEngine(output) {
.map(function(plugin) {
return plugin.getBlocks();
})
- .flatten();
+ .flatten(1);
// Extend with default
blocks = defaultBlocks.concat(blocks);