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

Multiple choice question answers in Moodle 3.9 start on second line

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68761-master
    • Hide

      Please test this in browsers Chrome, Firefox, Safari and IE / Edge

      1. Login as Admin
      2. Create a new Quiz and add a multiple choice question
      3. For choice 1 add and image
      4. For choice 2 add a paragraph of text
      5. For choice 3 add an audio file
      6. For choice 4 add a single word
      7. Preview / Attempt the quiz
      8. Verify the checkboxes, labels (a., b., c.) and the question content all align to the top.

      See this example:

      Show
      Please test this in browsers Chrome, Firefox, Safari and IE / Edge Login as Admin Create a new Quiz and add a multiple choice question For choice 1 add and image For choice 2 add a paragraph of text For choice 3 add an audio file For choice 4 add a single word Preview / Attempt the quiz Verify the checkboxes, labels (a., b., c.) and the question content all align to the top. See this example:

    Description

      In Moodle 3.9 Multiple choice question answers in Moodle 3.9 start on the second line instead of on the same line as the answer choice numbering. The answers look like this:
      a.
      Washington
      b.
      Adams

      instead of like:
      a. Washington
      b. Adams

      This because of how the editor creates default paragraph elements now:
      <p dir="ltr" style="text-align: left;">Washington</p>
      If you edit the HTML to:
      <p>Washington</p>
      The answers will display correctly. This was tested in multiple browsers and operating systems. I tested on Moodle 3.7 and if I copy the 3.9 answer style,<p dir="ltr" style="text-align: left;">, it also shows this issue.

      Attachments

        Issue Links

          Activity

            People

              basbrands Bas Brands
              mspall Michael Spall
              Simey Lameze Simey Lameze
              Jake Dallimore Jake Dallimore
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 55 minutes
                  3h 55m