web/form.py
changeset 3023 7864fee8b4ec
parent 2890 fdcb8a2bb6eb
parent 2996 866a2c135c33
child 3451 6b46d73823f5
--- a/web/form.py	Fri Aug 21 16:26:20 2009 +0200
+++ b/web/form.py	Wed Aug 26 14:45:56 2009 +0200
@@ -162,7 +162,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