view.py
changeset 2555 ca7b122f34fa
parent 2468 93853b6f3bad
child 2558 81c8b5312f9c
--- 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