web/form.py
branchstable
changeset 2996 866a2c135c33
parent 2656 a93ae0f6c0ad
child 3023 7864fee8b4ec
child 3512 2ceaa4e40348
--- a/web/form.py	Tue Aug 25 19:42:19 2009 +0200
+++ b/web/form.py	Tue Aug 25 22:57:47 2009 +0200
@@ -164,7 +164,7 @@
                 if len(errors) > 1:
                     templstr = '<li>%s</li>\n'
                 else:
-                    templstr = '&nbsp;%s\n'
+                    templstr = '&#160;%s\n'
                 for field, err in errors:
                     if field is None:
                         errormsg += templstr % err