[Zope-Checkins]
SVN: Zope/trunk/lib/python/StructuredText/HTMLWithImages.py
made IMG tag xhtml compliant
Andreas Jung
andreas at andreas-jung.com
Wed Sep 8 10:07:44 EDT 2004
Log message for revision 27476:
made IMG tag xhtml compliant
Changed:
U Zope/trunk/lib/python/StructuredText/HTMLWithImages.py
-=-
Modified: Zope/trunk/lib/python/StructuredText/HTMLWithImages.py
===================================================================
--- Zope/trunk/lib/python/StructuredText/HTMLWithImages.py 2004-09-08 13:18:40 UTC (rev 27475)
+++ Zope/trunk/lib/python/StructuredText/HTMLWithImages.py 2004-09-08 14:07:44 UTC (rev 27476)
@@ -25,6 +25,6 @@
def image(self, doc, level, output):
if hasattr(doc, 'key'):
output('<a name="%s"></a>\n' % doc.key)
- output('<img src="%s" alt="%s">\n' % (doc.href, doc.getNodeValue()))
+ output('<img src="%s" alt="%s" />\n' % (doc.href, doc.getNodeValue()))
if doc.getNodeValue() and hasattr(doc, 'key'):
output('<p><b>Figure %s</b> %s</p>\n' % (doc.key, doc.getNodeValue()))
More information about the Zope-Checkins
mailing list