diff options
Diffstat (limited to 'lib/generate')
-rw-r--r-- | lib/generate/ebook/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/generate/ebook/index.js b/lib/generate/ebook/index.js index 7416860..574341d 100644 --- a/lib/generate/ebook/index.js +++ b/lib/generate/ebook/index.js @@ -34,7 +34,8 @@ Generator.prototype.finish = function() { } var _options = { - "--cover": that.options.cover + "--cover": that.options.cover, + "--chapter": "\"descendant-or-self::*[contains(concat(' ', normalize-space(@class), ' '), ' book-chapter ')]\"" }; var command = [ |