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

Apostrophe problem in SHORTANSWER question embedded inside CLOZE question

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.4, 1.6.5, 1.7, 1.7.2, 1.8, 1.9
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      There is an apostrophe problem in the display of a SHORTANSWER question embedded inside CLOZE question, e.g.

      Rewrite "the book of John" using a genitive

      {1:SHORTANSWER:~%100%John's book#ok}

      When student enters "John's book", the displayed output is "John\'s book", with an added unwanted backslash. And each subsequent click on the Submit page button adds more backslashes: "John
      's book", "John\\\'s book", "John\\\\'s book", etc.

      Joseph

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    7/Nov/06