-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cant get color in rgb #2508
Labels
Milestone
Comments
oleibman
added a commit
to oleibman/PHPWord
that referenced
this issue
Nov 29, 2023
Fix PHPOffice#2508. Program currently expects `#xxxxxx` to specify a color when used by the `bgcolor` html attribute or the `color` or `background-color` css attributes. This PR allows support for `rgb(red, green, blue)` as well.
Progi1984
pushed a commit
that referenced
this issue
Jan 7, 2024
* Allow `rgb()` When Converting Html Fix #2508. Program currently expects `#xxxxxx` to specify a color when used by the `bgcolor` html attribute or the `color` or `background-color` css attributes. This PR allows support for `rgb(red, green, blue)` as well. * Update Change Log 2.0.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
If importing from HTML, colors in rgb parsed wrong. Unlike colors in hex, by the way. But frontend build with react, and it transfer hex color in to rgb automaticaly, so i can't write colors in rgb.
Steps to Reproduce
Expected Behavior
It would be great if the colors in rgb were handled correctly too.
The text was updated successfully, but these errors were encountered: