[CMF-checkins] CVS: Products/CMFCore - utils.py:1.22

Tres Seaver tseaver@zope.com
Thu, 6 Dec 2001 13:04:18 -0500


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv11340/CMFCore

Modified Files:
	utils.py 
Log Message:


  - Fixed inner / named links in Document / News Item (thanks to 
    Kenichi Sato for the patch!)


=== Products/CMFCore/utils.py 1.21 => 1.22 ===
         if name[:2] == '..':
             name = name[2:]
-        output('<a name="#%s">[%s]</a>' % (name, name))
+        output('<a name="%s">[%s]</a>' % (name, name))
 
     def document(self, doc, level, output):
         """\