diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-30 17:47:19 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-30 17:47:19 +0100 |
commit | ed3b77b655d2d0dcac83df192ebc970f0062cb16 (patch) | |
tree | e2fd9ab2bcb7c163f1a1cb0b0522e5bb81ad9d1d | |
parent | 55a1aee164f0389af8fcc08ac900df74955eadff (diff) | |
download | gitbook-ed3b77b655d2d0dcac83df192ebc970f0062cb16.zip gitbook-ed3b77b655d2d0dcac83df192ebc970f0062cb16.tar.gz gitbook-ed3b77b655d2d0dcac83df192ebc970f0062cb16.tar.bz2 |
Don't use xmlMode to normalize html
-rw-r--r-- | lib/utils/page.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/page.js b/lib/utils/page.js index bd8ada3..f422d4c 100644 --- a/lib/utils/page.js +++ b/lib/utils/page.js @@ -78,7 +78,7 @@ function pregQuote( str ) { // Adapt an html snippet to be relative to a base folder function normalizeHtml(src, options) { - var $ = cheerio.load(src, { xmlMode: true}); + var $ = cheerio.load(src, { xmlMode: false}); var toConvert = []; var svgContent = {}; var outputRoot = options.book.options.output; |