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

Using <ul> in profile description produces rendering error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 2.0
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Using <ul> in the profile description produces a rendering error: Moodle wraps the text with <p> tags and <ul> tags are not allowed within <p> tags in 1.0 strict.

      Maybe the best solution is not to put the <p> tags around the description text.

      Prove of issue:

      I tried to close the opening <p> tag before the list and open another one after the list - and yep, no more rendering error.

      some text ...
      </p>
      <ul>
      <li>...</li>
      </ul>
      <p>
      text continues ...

        Attachments

          Activity

            People

            • Assignee:
              andyjdavis Andrew Davis
              Reporter:
              urshunkler Urs Hunkler
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10