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);
|
$(element).attr('src', src);
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
html: $.html(),
|
html: $.xml(),
|
||||||
files: files
|
files: files
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ var inline = co.wrap(function * (html, filename, options) {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
return {
|
return {
|
||||||
html: $.html(),
|
html: $.xml(),
|
||||||
files: files
|
files: files
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ var inline = function (html, filename) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
html: $.html(),
|
html: $.xml(),
|
||||||
files: files
|
files: files
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user