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

Cannot nest an unordered list inside an ordered list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.7, 2.1.4
    • 2.1.2
    • Resource, Themes
    • qa.moodle.net
    • MOODLE_21_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • Hide
      1. Create a page resource
      2. Click the HTML button to enter HTML source
      3. Enter the code in the description of this bug as the Page content
      4. Click Update
      5. Click Save and display

      Check that the numbered list displays with a bulleted list nested inside.

      Show
      Create a page resource Click the HTML button to enter HTML source Enter the code in the description of this bug as the Page content Click Update Click Save and display Check that the numbered list displays with a bulleted list nested inside.

      The rendering of nested lists is not working as expected.

      When a bulleted list is nested inside a numbered list, the bullets become numbers.

      <p>Some text</p>
      <ol>
      <li>Bli</li>
      <li>Bla</li>
      <ul>
      <li>Ha</li>
      <li>Ho</li>
      </ul>
      <li>Blu</li>
      </ol>
      <p>More text.</p>
      <ul>
      <li>Bli</li>
      <li>Bla</li>
      <ol>
      <li>Ha</li>
      <li>Ho</li>
      </ol>
      <li>Blu</li>
      </ul>
      <p>More text.</p>

      The same effect can be achieved by creating the lists in the editor or pasting/writing the HTML source.

      The source is maintained correctly between edits, so the problem is how the source is being rendered.

            lazydaisy Mary Evans
            salvetore Michael de Raadt
            Michael de Raadt Michael de Raadt
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            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.