Generate valid first level table of content for ebook

This commit is contained in:
Samy Pessé
2014-05-29 17:28:18 +02:00
parent 46321fffd9
commit 5c3b345fa6
2 changed files with 4 additions and 29 deletions
+2 -1
View File
@@ -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 = [