[Zope3-checkins] CVS: Products3/bugtracker/browser - bug.py:1.7
Stephan Richter
srichter@cosmos.phy.tufts.edu
Sat, 26 Jul 2003 17:26:00 -0400
Update of /cvs-repository/Products3/bugtracker/browser
In directory cvs.zope.org:/tmp/cvs-serv24890/browser
Modified Files:
bug.py
Log Message:
- Fixed typo.
- The STX renderer works also with unicode.
=== Products3/bugtracker/browser/bug.py 1.6 => 1.7 ===
--- Products3/bugtracker/browser/bug.py:1.6 Sat Jul 26 16:13:32 2003
+++ Products3/bugtracker/browser/bug.py Sat Jul 26 17:25:54 2003
@@ -83,7 +83,7 @@
return formatter.format(dc.modified)
def description(self):
- html = HTML(str(self.context.description), level=3)
+ html = HTML(self.context.description, level=3)
html = re.sub(
r'(?sm)^<html.*<body.*?>\n(.*)</body>\n</html>\n',r'\1', html)
return html