From: Fred L. D. Jr. <fd...@us...> - 2004-04-08 05:35:30
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22102 Modified Files: Banner.py Log Message: sanitize the generated HTML a little bit Index: Banner.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/Banner.py,v retrieving revision 2.3 retrieving revision 2.4 diff -C2 -d -r2.3 -r2.4 *** Banner.py 27 Mar 2002 03:59:48 -0000 2.3 --- Banner.py 8 Apr 2004 05:22:17 -0000 2.4 *************** *** 41,45 **** print '<!-- start of site links table -->' print '<table width="100%" border="0"' ! print self.get_banner_attributes() print ' bgcolor="%s">' % ( self.get_bgcolor()) --- 41,47 ---- print '<!-- start of site links table -->' print '<table width="100%" border="0"' ! attrs = self.get_banner_attributes() ! if attrs: ! print ' ', attrs print ' bgcolor="%s">' % ( self.get_bgcolor()) |