diff --git a/lib/utils/page.js b/lib/utils/page.js index 0166288c3..4c8605d35 100644 --- a/lib/utils/page.js +++ b/lib/utils/page.js @@ -65,7 +65,7 @@ function pregQuote( str ) { // Adapt an html snippet to be relative to a base folder function normalizeHtml(src, options) { - var $ = cheerio.load(src); + var $ = cheerio.load(src, { xmlMode: true}); var toConvert = []; var outputRoot = options.book.options.output;