]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Switched Doctype to XHTML 1.0 Strict (which best reflects the current
authorSarven Capadisli <csarven@status.net>
Wed, 30 Sep 2009 10:37:46 +0000 (10:37 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 30 Sep 2009 10:37:46 +0000 (10:37 +0000)
grammar in use)

lib/htmloutputter.php

index aa01f6b1d9d268e5855864efe428027cf4aa5916..9e3a5b305e5fa89be55e25d7fc4a2c4b8c54603a 100644 (file)
@@ -113,7 +113,9 @@ class HTMLOutputter extends XMLOutputter
             // Browsers don't like it when <?xml it output for non-xhtml documents
             $this->xw->startDocument('1.0', 'UTF-8');
         }
-        $this->xw->writeDTD('html');
+        $this->xw->writeDTD('html',
+                            '-//W3C//DTD XHTML 1.0 Strict//EN',
+                            'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
 
         $language = $this->getLanguage();