-
Notifications
You must be signed in to change notification settings - Fork 103
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
InlineStyleToObject method is parsing attribute values to lower case #58
Comments
Also finding this when trying to pass in a Link for react-router. The |
also |
I'm stuck on this as well because my custom components have Camel case naming. Looking into babel.transform as another possible option EDIT I'm finding out that |
My PR seems to resolve this issue but I think that this library is dead. I switched to html-react-parser in my project as it’s a much lighter solution with similar API and it’s working well. |
@adrianos10 thanks for the note. I'm using their "replace" to hack a way to sub in a react component for some html components. |
Hey guys - I've found a hacky way of getting around this by using Clone the element created by EG.
|
Hi,
I have found a problem within InlineStyleToObject method. It's parsing both attribute and value to lower case which can be problematic in case when someone is passing
background-image
style with URL or path to file as a value. As image file can contain uppercase letters, when parsed to lower case it causes 404 error.The text was updated successfully, but these errors were encountered: