Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119406

Summary: code2html produces inconsistent color codes
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] DevelopmentAssignee: Leonardo Boshell (RETIRED) <leonardop>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix the 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.