web/views/basetemplates.py
changeset 8974 c8520188eb4b
parent 8706 e362054d9701
child 9176 8139f82c8bbe
--- a/web/views/basetemplates.py	Mon May 06 17:13:43 2013 +0200
+++ b/web/views/basetemplates.py	Mon May 06 15:58:52 2013 +0200
@@ -108,7 +108,7 @@
         if (('__notemplate' in self._cw.form)
             and view.templatable
             and view.content_type == self._cw.html_content_type()):
-            view.w(self._cw.document_surrounding_div())
+            view.w(u'<div>')
             view.render()
             view.w(u'</div>')
         else: