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

non standard tag in html element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.7
    • JavaScript
    • MOODLE_27_STABLE

      using Moodle 2.7+ (Build: 20140605) with theme based on bootstrap, viewing a course content page.

      it seems that $OUTPUT->htmlattributes(); is outputting a non-allowed tag – div.

      see:

      <html dir="ltr" lang="en" xml:lang="en" class="yui3-js-enabled">
      <div id="yui3-css-stamp" style="position: absolute !important; visibility: hidden !important" class=""></div>
      <head>

      as far as i know, the <div> element should only be a child of <body> tags.
      I tried the w3c validator on the HTML and it caused loads of errors.

      to recreate, view source of a course content page.

            dobedobedoh Andrew Lyons
            pgee Peter Gee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.