sdglhm / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Allow color attribute to have hex colors without hash character #340

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dompdf to do:
I've seen now two implementations of tools that create HTML code with a color 
attribute where the color is represented like color="FF0000" instead of the 
correct color="#FF0000". Problem is those tools are either not changeable 
(delivered from CDNs) or would mean that if they get updated a hack needed to 
change it (if the person is actually capable of changing it in the first place) 
would be lost or would have to be repeated. Browsers can handle this mostly 
without problems. It would not be too much of a stretch to let dompdf do the 
same.

Do you have an example:
<font color="FF0000">This is red</font>

Original issue reported on code.google.com by chris.ri...@gmail.com on 18 Aug 2011 at 7:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r437.

Original comment by fabien.menager on 23 Oct 2011 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16