[CMF-checkins] CVS: CMF/CMFCollector - CollectorIssue.py:1.26

Ken Manheimer klm@zope.com
Wed, 31 Oct 2001 00:06:46 -0500


Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv23154

Modified Files:
	CollectorIssue.py 
Log Message:
._cook_links(): Whoops - neglected to include chunk of text trailing
last link.


=== CMF/CMFCollector/CollectorIssue.py 1.25 => 1.26 ===
                     got.append('<a href="%s">%s</a>' % (url, url))
                     cursor = end
+                if cursor < len(text):
+                    got.append(text[cursor:])
                 text = "".join(got)
             text = util.uploadexp.sub(r'\1<a href="%s/\2/view">\2</a>\3'
                                       % self.absolute_url(),