Comment 4 for bug 265627

Revision history for this message
Mark Sapiro (msapiro) wrote :

The BODY tag has no COLOR attribute. The relevant attributes are TEXT, LINK, ALINK and VLINK.

The existing BODY tags are generated by htmlformat.py for generated pages and also coded in the following templates for pages built from those templates.

admlogin.html
archidxhead.html
archtoc.html
archtocnombox.html
article.html
emptyarchive.html
listinfo.html
options.html
private.html
roster.html
subscribe.html

The question is what to do to fix this.

Clearly, There should be a WEB_TEXT_COLOR setting in Defaults.py and code in htmlformat.py to process it, but is just making the default "black" and unconditionally adding TEXT= to all the BODY tags the right thing to do?

Current code does not add LINK=, ALINK= or VLINK= attributes to the BODY tag unless they are defined non-empty. Changing this is likely to be disruptive.

Another possible solution is to remove BGCOLOR= from the BODY tags, but this too can be disruptive.

I am interest in receiving feedback on the best way to deal with this.