Don't use xmlMode to normalize html

This commit is contained in:
Samy Pessé
2015-01-30 17:47:19 +01:00
parent 55a1aee164
commit ed3b77b655
+1 -1
View File
@@ -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;