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

Remove extra <br /> tag for XHTML strict validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.5, 1.9
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4
    • Questions
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      Remove extra <br /> tag for XHTML strict validation in file question/preview.php.
      Validator error shown:

      Line 130, Column 5: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
      <br /><div class="controls"><input type="hidden" name="id" value="164" />
      The mentioned element is not allowed to appear in the context in which you've placed it;

      patch file attached against current moodle 1.8

            timhunt Tim Hunt
            rezeau Joseph Rézeau
            Nicolas Martignoni Nicolas Martignoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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