mirror of
https://github.com/KevinMidboe/inline-html.git
synced 2025-10-29 17:40:29 +00:00
Fixed bug where <br/> was returned as <br>.
This commit is contained in:
@@ -18,7 +18,7 @@ var inline = function (html, filename) {
|
||||
$(element).attr('src', src);
|
||||
});
|
||||
return {
|
||||
html: $.html(),
|
||||
html: $.xml(),
|
||||
files: files
|
||||
};
|
||||
};
|
||||
|
||||
@@ -57,7 +57,7 @@ var inline = co.wrap(function * (html, filename, options) {
|
||||
}));
|
||||
|
||||
return {
|
||||
html: $.html(),
|
||||
html: $.xml(),
|
||||
files: files
|
||||
};
|
||||
});
|
||||
|
||||
@@ -36,9 +36,9 @@ var inline = function (html, filename) {
|
||||
});
|
||||
|
||||
return {
|
||||
html: $.html(),
|
||||
html: $.xml(),
|
||||
files: files
|
||||
};
|
||||
};
|
||||
|
||||
module.exports = inline;
|
||||
module.exports = inline;
|
||||
|
||||
Reference in New Issue
Block a user