CVS: ht2html Banner.py,2.3,2.4
"Fred L. Drake, Jr." <[email protected]> Wed, 07 Apr 2004 22:22:27 -0700
| Newsgroups | gmane.comp.web.ht2html.devel |
|---|---|
| Message-ID | <[email protected]> |
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())
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click