Switched Doctype to XHTML 1.0 Strict (which best reflects the current

grammar in use)
This commit is contained in:
Sarven Capadisli 2009-09-30 10:37:46 +00:00
parent 5309910b9b
commit eb85f16f77

View 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();