r20650 - gnucash/branches/2.4/src/report/stylesheets - [20647] Bug #650163: Fix Technicolor style that outputs wrong tags <btd> instead of <b><td>

Christian Stimming cstim at code.gnucash.org
Sun May 15 15:36:13 EDT 2011


Author: cstim
Date: 2011-05-15 15:36:12 -0400 (Sun, 15 May 2011)
New Revision: 20650
Trac: http://svn.gnucash.org/trac/changeset/20650

Modified:
   gnucash/branches/2.4/src/report/stylesheets/stylesheet-fancy.scm
Log:
[20647] Bug #650163: Fix Technicolor style that outputs wrong tags <btd> instead of <b><td>

Patch by Bert:

The technicolor stylesheet outputs </btd> tags where what they actually meant
to do was </b></td>. This may render report outputs wrongly in different
browsers and prevents HTML validation.

The proposed patch removes the bold tags as well (for example for the total
rows) since the font and its weight are set in the options (and thus reflected
in the CSS style). There is no need for the report to set the bold face with
the <b> tag.

In addition, the attached patch also closed the <center> tag at the beginning
of the body (also preventing validation). Note that that this tag is deprecated
for newer version of html (but will pass HTML 4.01 Transitional).



More information about the gnucash-patches mailing list