mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-02 06:58:06 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 897463b22e | |||
| aa4894e94c |
@@ -1,5 +1,8 @@
|
|||||||
# Release notes
|
# Release notes
|
||||||
|
|
||||||
|
## 1.3.3
|
||||||
|
- Fix parsing of lexed content using the client library
|
||||||
|
|
||||||
## 1.3.2
|
## 1.3.2
|
||||||
- ePub files are now passing validation from epubcheck
|
- ePub files are now passing validation from epubcheck
|
||||||
- Fix replacement of multiple glossary terms in a single sentence
|
- Fix replacement of multiple glossary terms in a single sentence
|
||||||
|
|||||||
+1
-1
@@ -428,7 +428,7 @@ function parsePage(src, options) {
|
|||||||
|
|
||||||
// Lex if not already lexed
|
// Lex if not already lexed
|
||||||
var parsed = {
|
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) {
|
parsed.sections = parsed.lexed.map(function(section) {
|
||||||
// Transform given type
|
// Transform given type
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -52,7 +52,7 @@ function parsePage(src, options) {
|
|||||||
|
|
||||||
// Lex if not already lexed
|
// Lex if not already lexed
|
||||||
var parsed = {
|
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) {
|
parsed.sections = parsed.lexed.map(function(section) {
|
||||||
// Transform given type
|
// Transform given type
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gitbook",
|
"name": "gitbook",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"homepage": "http://www.gitbook.io/",
|
"homepage": "http://www.gitbook.io/",
|
||||||
"description": "Library and cmd utility to generate GitBooks",
|
"description": "Library and cmd utility to generate GitBooks",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user