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

CLOZE questions have extra newline since upgrading to 3.5.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5, 3.5 regressions
    • 3.5.1
    • Questions, Themes
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • MDL-62594-master
    • Hide

      Note: Test on Boost and Clean

      1. Create a quiz activity in a course.
      2. Edit the quiz and add an "Embedded answers (Cloze)" question.
      3. Enter a question name and on the question text field, copy and paste the sample Cloze question from this issue's description
      4. Save the question
      5. Preview the Cloze question.
      6. Confirm that the text input fields in the question are rendered inline.
      Show
      Note: Test on Boost and Clean Create a quiz activity in a course. Edit the quiz and add an " Embedded answers (Cloze) " question. Enter a question name and on the question text field, copy and paste the sample Cloze question from this issue's description Save the question Preview the Cloze question. Confirm that the text input fields in the question are rendered inline.

    Description

      A cloze question in Moodle previously in paragraph format is now displaying with newlines for each of the cloze boxes in the question. It makes the formatting look strange.

      Code for the question

      This is a picture of my sister. She loves {1:SHORTANSWER_C:=clothes#Congratulations!%50%Clothes#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!}. She's wearing a {1:SHORTANSWER_C:=solid#Congratulations!%50%Solid#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!} white skirt and a {1:SHORTANSWER_C:=blue#Congratulations!%50%Blue#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!} blouse. She's also wearing a big black {1:SHORTANSWER_C:=belt#Congratulations!%50%Belt#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!} and black {1:SHORTANSWER_C:=shoes#Congratulations!%50%Shoes#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!}. She also has a gray {1:SHORTANSWER_C:=jacket#Congratulations!%50%Jacket#Sorry, you should write it with a lower-case (small) letter.#Wrong answer!}.

      Attachments

        Issue Links

          Activity

            People

              basbrands Bas Brands
              tallthom Thom Rawson
              Luca Bösch Luca Bösch
              Jun Pataleta Jun Pataleta
              Gladys Basiana Gladys Basiana
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/18

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m