[Zope-Checkins] CVS: Zope/lib/python/StructuredText - HTMLWithImages.py:1.6
Andreas Jung
andreas@digicool.com
Tue, 5 Mar 2002 10:38:42 -0500
Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv24223
Modified Files:
HTMLWithImages.py
Log Message:
- removed generation of bgcolor attribute for <body>
- unified output for inner links
=== Zope/lib/python/StructuredText/HTMLWithImages.py 1.5 => 1.6 ===
output('<head>\n<title>%s</title>\n</head>\n' %
children[0].getChildNodes()[0].getNodeValue())
- output('<body bgcolor="#FFFFFF">\n')
+ output('<body>\n')
for c in children:
getattr(self, self.element_types[c.getNodeName()])(c, level, output)
output('</body>\n')
@@ -45,7 +45,7 @@
def xref(self, doc, level, output):
val = doc.getNodeValue()
- output('<a href="#%s">Figure %s</a>' % (val, val) )
+ output('<a href="#ref%s">[%s]</a>' % (val, val) )