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

bullets not numbers in ordered list in topic section in course page view

    Details

    • Testing Instructions:
      Hide

      1. With editing on, go to any course page and edit the topic section at the top of that page.
      2. Make a list of words eg:
      paper
      scissors
      rock
      3. Highlight your list and select 'ordered list' (numerical list) icon in the text editor menu.
      This should produce a list similar to the attached image.
      4. Save your work and then view the text you have just written.
      You should see a numbered list.
      5. Repeat steps 1 thru 4, but create a Label this time and add your list inside the Label. It can be a nested list or a simple list, it matters not as the result should still be the same as 4. above.

      Show
      1. With editing on, go to any course page and edit the topic section at the top of that page. 2. Make a list of words eg: paper scissors rock 3. Highlight your list and select 'ordered list' (numerical list) icon in the text editor menu. This should produce a list similar to the attached image. 4. Save your work and then view the text you have just written. You should see a numbered list. 5. Repeat steps 1 thru 4, but create a Label this time and add your list inside the Label. It can be a nested list or a simple list, it matters not as the result should still be the same as 4. above.
    • Workaround:
      Hide

      Add the following to core.css in base theme...

      ul li,
      .course-content ul.weeks .content .summary ul li,
      .course-content ul.topics .content .summary ul li

      {list-style: disc outside none }

      ol li,
      .course-content ul.weeks .content .summary ol li,
      .course-content ul.topics .content .summary ol li

      {list-style: decimal outside none }

      which will ensure numbered list are rendered correctly.

      Show
      Add the following to core.css in base theme... ul li, .course-content ul.weeks .content .summary ul li, .course-content ul.topics .content .summary ul li {list-style: disc outside none } ol li, .course-content ul.weeks .content .summary ol li, .course-content ul.topics .content .summary ol li {list-style: decimal outside none } which will ensure numbered list are rendered correctly.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-27692_master

      Description

      1.) Selecting 'ordered list' (numerical) from the icon in HTML Editor, in the topic section of a course page, only produces bullet points and not numbers as one would expect.

      The attached image, related to this issue, shows 'HTML Editor' view when editing. Whilst the display in the editor is correct, the outcome, for an ORDERED LIST after saving is not rendered as it should be: 1.) A numbered list

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  4 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    1/Aug/11