changeset 8974 | c8520188eb4b |
parent 8695 | 358d8bed9626 |
child 9229 | 739ae5366bed |
--- a/web/views/ajaxcontroller.py Mon May 06 17:13:43 2013 +0200 +++ b/web/views/ajaxcontroller.py Mon May 06 15:58:52 2013 +0200 @@ -268,7 +268,7 @@ return content elif self.output_type == 'xhtml': self._cw.set_content_type(self._cw.html_content_type()) - return ''.join((self._cw.document_surrounding_div(), + return ''.join((u'<div>', content.strip(), u'</div>')) elif self.output_type == 'json': self._cw.set_content_type('application/json')