From: moodler Date: Wed, 3 Jan 2007 02:03:22 +0000 (+0000) Subject: On second thoughts, while we are in testing phase, let's run with XHTML Strict all... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=84dec541b0972d7d724fc2330ca7d86c0f815970;p=moodle.git On second thoughts, while we are in testing phase, let's run with XHTML Strict all the time. MDL-7861 --- diff --git a/lib/weblib.php b/lib/weblib.php index 592cf8db7f..450e845e2d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2264,10 +2264,7 @@ function force_strict_header($output) { } } - if (debugging()) { // In any other debugging mode > NONE, strict is on - // Substitute document-type, s (PCRE_DOTALL) - $output = preg_replace('/()/s', $strict, $output); - } + $output = preg_replace('/()/s', $strict, $output); // Always change the DOCTYPE to Strict 1.0 return $output; }