Skip to content

CSS custom properties are processed incorrectly#109

Open
abhisheksharmacodes wants to merge 3 commits intopeternewnham:masterfrom
abhisheksharmacodes:master
Open

CSS custom properties are processed incorrectly#109
abhisheksharmacodes wants to merge 3 commits intopeternewnham:masterfrom
abhisheksharmacodes:master

Conversation

@abhisheksharmacodes
Copy link

Changes were made in https://github.com/abhisheksharmacodes/react-html-parser/blob/master/src/utils/inlineStyleToObject.js file to better process custom CSS properties.

Before changes:
"--css-properties" was processed as "-Css-Properties" resulting in errors.

After changes:
"--css-properties" is processed as it is to avoid errors and inbuilt properties are converted as intended.

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

Successfully merging this pull request may close these issues.

1 participant