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

Allow rgb() When Converting Html #2512

Merged
merged 3 commits into from
Jan 7, 2024
Merged

Conversation

oleibman
Copy link
Contributor

Description

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.

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

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.
@coveralls
Copy link

coveralls commented Nov 29, 2023

Coverage Status

coverage: 97.213% (+0.001%) from 97.212%
when pulling 68f1570 on oleibman:word2508
into 050e74e on PHPOffice:master.

@Progi1984 Progi1984 added this to the 2.0.0 milestone Nov 30, 2023
Copy link
Member

@Progi1984 Progi1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oleibman Hi, could you update the changelog 2.0.0.md file, please ?

@oleibman
Copy link
Contributor Author

oleibman commented Jan 7, 2024

@Progi1984 Change log updated.

@Progi1984 Progi1984 merged commit 9bf816b into PHPOffice:master Jan 7, 2024
13 checks passed
@oleibman oleibman deleted the word2508 branch January 8, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Cant get color in rgb
3 participants