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

Apostrophe problem in SHORTANSWER question embedded inside CLOZE question

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.4, 1.6.5, 1.7, 1.7.2, 1.8, 1.9
    • Questions
    • None
    • MOODLE_16_STABLE
    • 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

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              rezeau Joseph Rézeau
              Nicolas Martignoni Nicolas Martignoni
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7/Nov/06