From e8545de30a27a306d6558ae7f463b4f09fdfe327 Mon Sep 17 00:00:00 2001 From: Alexandre Gigliotti Date: Tue, 25 Aug 2015 13:34:21 -0700 Subject: [PATCH] Fixed bug where
was returned as
. --- lib/inline-img.js | 2 +- lib/inline-link-less.js | 2 +- lib/inline-style.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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;