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

Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7.4, 1.8.4, 1.9, 2.0
    • 1.9
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Asterisk is a wildcard symbol in shortanswer question. The problem is with asterisk, that actually needs to apperar in answer. If I use simple asterisk, it accept any symbols; if I escape it (*) , moodle will expect literally this as an answer: *.

      I failed to find a way to include * without preceding backslash in an answer to the shortanswer question.

            timhunt Tim Hunt
            oa_sychev Oleg Sychev
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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