This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ron_adam
Recipients belopolsky, eric.araujo, ezio.melotti, lukasz.langa, rhettinger, ron_adam
Date 2010-12-29.17:12:16
SpamBayes Score 0.000934361
Marked as misclassified No
Message-id <1293642739.93.0.780838243128.issue10716@psf.upfronthosting.co.za>
In-reply-to
Content
The HtmlDoc class has methods that take colors. Can this be changed or does it need to be depreciated first? 

    def heading(self, title, fgcol, bgcol, extras=''):
        """Format a page heading."""
        return '''
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="%s">
<td valign=bottom>&nbsp;<br>
<font color="%s" face="helvetica, arial">&nbsp;<br>%s</font></td
><td align=right valign=bottom
><font color="%s" face="helvetica, arial">%s</font></td></tr></table>
    ''' % (bgcol, fgcol, title, fgcol, extras or '&nbsp;')

For the interactive server, I can override these methods with no problem, but the generated docs won't benefit from this until the HtmlDoc class is replaced.  Any suggestions?
History
Date User Action Args
2010-12-29 17:12:20ron_adamsetrecipients: + ron_adam, rhettinger, belopolsky, ezio.melotti, eric.araujo, lukasz.langa
2010-12-29 17:12:19ron_adamsetmessageid: <1293642739.93.0.780838243128.issue10716@psf.upfronthosting.co.za>
2010-12-29 17:12:16ron_adamlinkissue10716 messages
2010-12-29 17:12:16ron_adamcreate