web/views/basecontrollers.py
changeset 8974 c8520188eb4b
parent 8849 7da8339cd768
child 9229 739ae5366bed
--- a/web/views/basecontrollers.py	Mon May 06 17:13:43 2013 +0200
+++ b/web/views/basecontrollers.py	Mon May 06 15:58:52 2013 +0200
@@ -54,7 +54,7 @@
     def wrapper(self, *args, **kwargs):
         self._cw.set_content_type(self._cw.html_content_type())
         result = func(self, *args, **kwargs)
-        return ''.join((self._cw.document_surrounding_div(), result.strip(),
+        return ''.join((u'<div>', result.strip(),
                         u'</div>'))
     wrapper.__name__ = func.__name__
     return wrapper