Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with inlineStyleToObject inline background-image #74

Open
dlxu opened this issue May 26, 2020 · 1 comment
Open

Issue with inlineStyleToObject inline background-image #74

dlxu opened this issue May 26, 2020 · 1 comment

Comments

@dlxu
Copy link

dlxu commented May 26, 2020

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

@zhangbenber
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants