Skip to content

Commit 921ff53

Browse files
committed
Input should be a string.
1 parent 7fa2f47 commit 921ff53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function (html, options) {
2828
recognizeSelfClosing: false
2929
}, options);
3030

31-
inlineContent(html, opt)
31+
inlineContent(String(html), opt)
3232
.then(function (data) {
3333
resolve(data);
3434
})

0 commit comments

Comments
 (0)