summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-30 10:37:46 +0000
committerSarven Capadisli <csarven@status.net>2009-09-30 10:37:46 +0000
commiteb85f16f773ff1df71d1af4fad85d40286d5f3a6 (patch)
treed4e3a88b553dfc46486eca6dca8b59ee4e432a7a
parent5309910b9b4dd2533ff5b2190f90bf415fd20113 (diff)
Switched Doctype to XHTML 1.0 Strict (which best reflects the current
grammar in use)
-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();