Accidentally caused the DOCTYPE to never be rendered - fix that.

This commit is contained in:
Craig Andrews 2009-08-05 19:24:34 -04:00
parent b975a6a0e5
commit feac024348

View File

@ -113,9 +113,7 @@ class HTMLOutputter extends XMLOutputter
// Browsers don't like it when <?xml it output for non-xhtml documents
$this->xw->startDocument('1.0', 'UTF-8');
}
if ($doc) {
$this->xw->writeDTD('html', $public, $system);
}
$this->xw->writeDTD('html', $public, $system);
$language = $this->getLanguage();