react-html-parser icon indicating copy to clipboard operation
react-html-parser copied to clipboard

Issue with inlineStyleToObject inline background-image

Open dlxu opened this issue 4 years ago • 1 comments

We are face an issue with background-image inline style. The image couldn't display if image saved in a folder with capital letters, got 404.

By looking at the implementation, it seems the problem is resulting from this line of code:

https://github.com/wrakky/react-html-parser/blob/f28597ee0d010d4142d0077c911868de69535efd/src/utils/inlineStyleToObject.js#L23

Please help to fix the issue, Thanks.

Derek

dlxu avatar May 26 '20 00:05 dlxu

I met the exact same problem and created a PR on this: #85

zhangbenber avatar Mar 23 '21 03:03 zhangbenber