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

spaces in cloze quiz (moodle 2.8)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.8, 2.8.1
    • None
    • Questions, Quiz
    • None
    • MOODLE_28_STABLE

    Description

      I'm bumping into a problem with Cloze questions in Moodle 2.8. Here is the quiz question:


      Supply the missing word (or words) to complete the translation:
      "I can see it with one eye"
      id

      {1:SHORTANSWER:=uno oculo ~=oculo uno }

      videre possum


      As it stands right now, this won't work. The spaces before '~' and "}" mean that students' answers are marked wrong, whether or not they type a space there.

      Also, if you view this question in 'preview' and choose "fill in the correct response", it will insert an answer without the space, which then will not be accepted as correct.

      It looks to me that Moodle is stripping out that extra space in some processes, but not for others.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              eilersc Claude Eilers
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: