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

Cloze/Multianswer format doesn't allow backslash-escaping special characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      I have several complicated questions that require the cloze format, and use IPA characters which need to be input using numeric character entities as options in a multichoice question (i.e. ə as ă). Since the # causes it to think that feedback follows, the answer gets escaped & merely shows up as an &. Backslashes don't appear to be parsed anywhere whether importing from text or entering via the web form, unlike the multichoice code which has pre & post escape functions, and I couldn't really figure out where to add such functions into the cloze code. If anyone more familiar w/ that bit of code would like to tackle this, or else point me to the right place to be sticking those escape functions in (i.e. from what function in which file), I'd be very appreciative.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: