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

not allowed <hr> in content of element <span>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      I want to add a separator to the main menu block so I add a label in which I enter

      <hr style=100%; height: 2px; />

      Ok, fine.

      The main menu block writes:

      <span class=icon c0></span><span class=c1>

      <hr style=100%; height: 2px; />

      </span>

      that is not vaid XHTML 1.0 Transitional code.

      w3c responses is:document type does not allow element hr here; missing one of object, applet, map, iframe, button, ins, del start-tag.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            daniss Daniele Cordella
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07