summaryrefslogtreecommitdiffstats
path: root/gitbook.js
diff options
context:
space:
mode:
Diffstat (limited to 'gitbook.js')
-rw-r--r--gitbook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitbook.js b/gitbook.js
index 84939f1..e4a9b73 100644
--- a/gitbook.js
+++ b/gitbook.js
@@ -428,7 +428,7 @@ function parsePage(src, options) {
// Lex if not already lexed
var parsed = {
- lexed: (_.isArray(src) ? page.content : lex(include(src, options.includer || function() { return undefined; })))
+ lexed: (_.isArray(src) ? src : lex(include(src, options.includer || function() { return undefined; })))
};
parsed.sections = parsed.lexed.map(function(section) {
// Transform given type