Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30308

outputrequirementslib.php breaks xhtml validation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: Accessibility
    • Labels:

      Description

      type is not specified on lines 981 & 983

      ...
              if (debugging('', DEBUG_DEVELOPER)) {
                  $code .= '<script src="'.$this->yui3loader->base.'yui/yui-debug.js"></script>';
              } else {
                  $code .= '<script src="'.$this->yui3loader->base.'yui/yui-min.js"></script>';
              }

      should be...

      ...
              if (debugging('', DEBUG_DEVELOPER)) {
                  $code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'yui/yui-debug.js"></script>';
              } else {
                  $code .= '<script type="text/javascript" src="'.$this->yui3loader->base.'yui/yui-min.js"></script>';
              }

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            syxton Matthew Davidson
            Integrator:
            Sam Hemelryk
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Nov/11