summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/htmloutputter.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index aa01f6b1d..9e3a5b305 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -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();