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

In QUIZ: trimming students's short answers of all extra spaces within the answer (even between words)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • BACKEND
    • 2.7.2
    • Quiz
    • MOODLE_27_STABLE

      Hello,
      In Quiz, with short answers,
      at the moment, when the expected answer is "the cat" and the received answer is " the cat" the answer is considered as wrong. Joseph RĂ©seau has created a parch that works for M1.9 and Tim Hunt sees no reason why it should not be made standard in M2. (see here :https://moodle.org/mod/forum/discuss.php?d=272781#p1174176).

      Besides, another trimming should be: removing extra spaces before punctuation; so that when the expected answer is "The sun is shining." an answer such as "The sun is shining ." would be accepted.

      Many thanks for looking into this.
      Philippe

            Unassigned Unassigned
            decloitre DECLOITRE
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.