Skip to content

Fix wrong conversion of short hex color codes#20

Merged
gvalkov merged 1 commit intogvalkov:mainfrom
Delgan:fix-short-hex
Feb 4, 2026
Merged

Fix wrong conversion of short hex color codes#20
gvalkov merged 1 commit intogvalkov:mainfrom
Delgan:fix-short-hex

Conversation

@Delgan
Copy link
Contributor

@Delgan Delgan commented Jan 12, 2026

Hi.

Just there to fix a bug I introduced 8 years ago in #7...

In addition, the semi-hexadecimal colors (like #FFF) are translated correctly.

Yeah, "correctly", sure... 😅
#ABC should translates to #AABBCC, not #ABCABC.

Thanks to @turkoid for the initial report.

@gvalkov gvalkov merged commit 67cb29b into gvalkov:main Feb 4, 2026
4 of 7 checks passed
@gvalkov
Copy link
Owner

gvalkov commented Feb 4, 2026

Much appreciated :)

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.

2 participants