mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-30308 outputrequirementslib.php breaks xhtml validation
Credit goes to Matthew Davidson.
This commit is contained in:
parent
fe41ba7489
commit
32322d8680
@ -973,9 +973,9 @@ class page_requirements_manager {
|
||||
}
|
||||
|
||||
if (debugging('', DEBUG_DEVELOPER)) {
|
||||
$code .= '<script src="'.$this->yui3loader->base.'yui/yui-debug.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'yui/yui-debug.js"></script>';
|
||||
} else {
|
||||
$code .= '<script src="'.$this->yui3loader->base.'yui/yui-min.js"></script>';
|
||||
$code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'yui/yui-min.js"></script>';
|
||||
}
|
||||
|
||||
return $code;
|
||||
|
Loading…
x
Reference in New Issue
Block a user