[CMF-checkins] CVS: CMF/CMFCore - utils.py:1.23
seb
seb@jamkit.com
Thu, 4 Jul 2002 12:48:43 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv10780
Modified Files:
utils.py
Log Message:
Fixed tracker [514], by removing a broken reimplementation of a
broken implementation which is no longer broken
XXX Trial subclassed implementation of HTMLClass#namedLink(),
as default implementation seems to be broken...
=== CMF/CMFCore/utils.py 1.22 => 1.23 ===
class CMFHtmlWithImages( HTMLWithImages ):
""" Special subclass of HTMLWithImages, overriding document() """
- def namedLink(self, doc, level, output):
- """\
- XXX Trial subclassed implementation of HTMLClass#namedLink(),
- as default implementation seems to be broken...
- """
- name = doc.getNodeValue()
- if name[:2] == '..':
- name = name[2:]
- output('<a name="%s">[%s]</a>' % (name, name))
def document(self, doc, level, output):
"""\