Compare commits

...

2 Commits

Author SHA1 Message Date
Samy Pessé 897463b22e Bump version to 1.3.3 2014-11-14 22:10:19 +01:00
Samy Pessé aa4894e94c Fix parsing of already lexed content 2014-11-14 22:09:30 +01:00
5 changed files with 7 additions and 4 deletions
+3
View File
@@ -1,5 +1,8 @@
# Release notes
## 1.3.3
- Fix parsing of lexed content using the client library
## 1.3.2
- ePub files are now passing validation from epubcheck
- Fix replacement of multiple glossary terms in a single sentence
+1 -1
View File
@@ -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
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -52,7 +52,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
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gitbook",
"version": "1.3.2",
"version": "1.3.3",
"homepage": "http://www.gitbook.io/",
"description": "Library and cmd utility to generate GitBooks",
"main": "lib/index.js",