Skip to content

Fix CSS properties for inline styles#50

Open
iheanyi wants to merge 1 commit intoCompanyCam:masterfrom
iheanyi:iheanyi/fix-inline-css
Open

Fix CSS properties for inline styles#50
iheanyi wants to merge 1 commit intoCompanyCam:masterfrom
iheanyi:iheanyi/fix-inline-css

Conversation

@iheanyi
Copy link

@iheanyi iheanyi commented Oct 3, 2025

Description

Depending on the library you're using, it can cause inline styles to be presented as camelCase, rather than dasherized. When this occurs, you get invalid CSS. This pull request tweaks the inlining of CSS styles to be dasherized so it's valid CSS.

Reason/Reference

I ran into this bug locally when working on something for a client and I had to monkey-patch it in order to get it working, so I figured others may run into this same problem.

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