diff --git a/lib/inline-img.js b/lib/inline-img.js index 6fdb55e..e7758cc 100644 --- a/lib/inline-img.js +++ b/lib/inline-img.js @@ -18,7 +18,7 @@ var inline = function (html, filename) { $(element).attr('src', src); }); return { - html: $.html(), + html: $.xml(), files: files }; }; diff --git a/lib/inline-link-less.js b/lib/inline-link-less.js index 453b23a..a609d81 100644 --- a/lib/inline-link-less.js +++ b/lib/inline-link-less.js @@ -57,7 +57,7 @@ var inline = co.wrap(function * (html, filename, options) { })); return { - html: $.html(), + html: $.xml(), files: files }; }); diff --git a/lib/inline-style.js b/lib/inline-style.js index cc6158a..48eeda6 100644 --- a/lib/inline-style.js +++ b/lib/inline-style.js @@ -36,9 +36,9 @@ var inline = function (html, filename) { }); return { - html: $.html(), + html: $.xml(), files: files }; }; -module.exports = inline; \ No newline at end of file +module.exports = inline;