diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-06 16:54:46 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-06 16:54:46 +0100 |
commit | 8bfba604b3ae1a51012499d726ea99c6f256035d (patch) | |
tree | b12172b1aa184c15020dbad39cd2be26ce21dd62 | |
parent | 2a5fa1c5fb62e48a73e64204b997486a3ca69ebd (diff) | |
download | gitbook-8bfba604b3ae1a51012499d726ea99c6f256035d.zip gitbook-8bfba604b3ae1a51012499d726ea99c6f256035d.tar.gz gitbook-8bfba604b3ae1a51012499d726ea99c6f256035d.tar.bz2 |
Update gitbook-parsers@0.5.0 and include page.prepare
Fix #625: escape code blocks in markdown
-rw-r--r-- | lib/book.js | 3 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/book.js b/lib/book.js index 3912977..38448dd 100644 --- a/lib/book.js +++ b/lib/book.js @@ -512,7 +512,8 @@ Book.prototype.parsePage = function(filename, options) { return that.template.renderPage(page); }) - // Parse markup + // Prepare and Parse markup + .then(filetype.page.prepare) .then(function(content) { page.content = content; diff --git a/package.json b/package.json index e580c1b..05dcc69 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "resolve": "0.6.3", "fs-extra": "0.16.3", "fstream-ignore": "1.0.2", - "gitbook-parsers": "0.4.1", + "gitbook-parsers": "0.5.0", "nunjucks": "git+https://github.com/mozilla/nunjucks.git#42d2b9f5c0ad5db8ca3a1fdbba5bde9fc4cc2c45", "nunjucks-autoescape": "0.1.1", "nunjucks-filter": "0.1.0", |