[Zope-Checkins] CVS: Zope3/lib/python/Zope/Exceptions - ExceptionFormatter.py:1.1.2.4
Guido van Rossum
guido@python.org
Tue, 26 Mar 2002 22:03:10 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Exceptions
In directory cvs.zope.org:/tmp/cvs-serv31563
Modified Files:
Tag: Zope-3x-branch
ExceptionFormatter.py
Log Message:
HTMLExceptionFormatter.formatLastLine() forgot to invoke
self.escape().
=== Zope3/lib/python/Zope/Exceptions/ExceptionFormatter.py 1.1.2.3 => 1.1.2.4 ===
def formatLastLine(self, exc_line):
- return '</ul>%s</p>' % exc_line
+ return '</ul>%s</p>' % self.escape(exc_line)