Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 2962:4607f58a007b
py2.1 compatibility
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Nov 2004 22:51:06 +0000 |
| parents | 68ba01244341 |
| children | 9614a101b68f |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Thu Nov 25 22:29:30 2004 +0000 +++ b/roundup/cgi/templating.py Thu Nov 25 22:51:06 2004 +0000 @@ -1428,7 +1428,7 @@ if format is not self._marker: value = value.pretty(format) - value = cgi.escape(str(value), True) + value = cgi.escape(str(value), 1) return self.input(name=self._formname, value=value, size=size) def reldate(self, pretty=1):
