--- a/view.py Tue Jul 28 10:19:14 2009 +0200
+++ b/view.py Tue Jul 28 10:23:48 2009 +0200
@@ -403,7 +403,7 @@
@property
def doctype(self):
- if self.req.xhtml_browser():
+ if not self.config['force-html-content-type'] and self.req.xhtml_browser():
return STRICT_DOCTYPE
return STRICT_DOCTYPE_NOEXT