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

Remove extra <br /> tag for XHTML strict validation

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

            timhunt Tim Hunt
            rezeau Joseph Rézeau
            Nicolas Martignoni Nicolas Martignoni
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08