summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-05 19:24:34 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-05 19:24:34 -0400
commitfeac024348e0584c84fd5392c503d912000d30bc (patch)
tree340359caa204f462e01032ca2f994688cbfbdda7
parentb975a6a0e5a5a7332eea4834494029c5c1238540 (diff)
Accidentally caused the DOCTYPE to never be rendered - fix that.
-rw-r--r--lib/htmloutputter.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 8f3b1a609..5da1fbe14 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -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();