diff -r d4cbcc15c01c -r 2cdd0d1d3888 web/views/basecontrollers.py --- a/web/views/basecontrollers.py Mon May 18 12:33:00 2009 +0200 +++ b/web/views/basecontrollers.py Mon May 18 13:41:53 2009 +0200 @@ -36,7 +36,8 @@ # XXX factor out, watch view.py ~ Maintemplate.doctype if self.req.xhtml_browser(): dt = STRICT_DOCTYPE - dt = STRICT_DOCTYPE_NOEXT + else: + dt = STRICT_DOCTYPE_NOEXT head = u'\n' + dt return head + u'