Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119406 - code2html produces inconsistent color codes
Summary: code2html produces inconsistent color codes
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Leonardo Boshell (RETIRED)
Depends on:
Reported: 2006-01-18 04:19 UTC by Erik
Modified: 2009-05-30 16:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

patch to fix the bug (consistent-color-codes-1.diff,19.26 KB, patch)
2006-01-18 04:20 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2006-01-18 04:19:58 UTC
The output contains inconsistent color codes. Sometimes they have a #, sometimes not. Sometimes hexadecimal digits are lowercase, sometimes not. This  patch fixes it. To verify that there are no uppercase hexadecimal digits left after applying the patch, execute this command: 
grep -E "(color|link)=\"#[0123456789abcdefABCDEF]{0,5}[ABCDEF][0123456789abcdefABCDEF]{0,5}\">" code2html
Comment 1 Erik 2006-01-18 04:20:52 UTC
Created attachment 77409 [details, diff]
patch to fix the bug
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2006-05-17 13:45:15 UTC
Thanks, committed for code2html-0.9.1-r1.