mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Don't use xmlMode to normalize html
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user