On second thoughts, while we are in testing phase, let's run with XHTML Strict all the time. MDL-7861

This commit is contained in:
moodler
2007-01-03 02:03:22 +00:00
parent 37ce014f91
commit 84dec541b0
+1 -4
View File
@@ -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('/(<!DOCTYPE.+?>)/s', $strict, $output);
}
$output = preg_replace('/(<!DOCTYPE.+?>)/s', $strict, $output); // Always change the DOCTYPE to Strict 1.0
return $output;
}