From 84dec541b0972d7d724fc2330ca7d86c0f815970 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 3 Jan 2007 02:03:22 +0000 Subject: [PATCH] On second thoughts, while we are in testing phase, let's run with XHTML Strict all the time. MDL-7861 --- lib/weblib.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; } -- 2.39.5