web/views/formrenderers.py
changeset 6609 d73733479a3a
parent 6597 ba9fb496ad87
child 7408 9ad9ce340c5f
--- a/web/views/formrenderers.py	Fri Oct 22 18:26:49 2010 +0200
+++ b/web/views/formrenderers.py	Fri Oct 22 18:46:23 2010 +0200
@@ -221,7 +221,7 @@
         for field in form.fields:
             if not field.is_visible():
                 w(field.render(form, self))
-                w('\n')
+                w(u'\n')
                 fields.remove(field)
         return fields
 
@@ -255,7 +255,7 @@
                     w(u' class="error"')
                 w(u'>\n')
                 w(field.render(form, self))
-                w('\n')
+                w(u'\n')
                 if error:
                     self.render_error(w, error)
                 if self.display_help: