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

Cloze (multianswer) question special character issues

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.5, 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

      I try to edit a cloze question with TeX fragments in it. For example $$ a
      over {a+2}$$. Note that all special characters '\,

      {,}

      ' are properly escaped. And it also works - I see the preview correctly.

      However, when I afterwards try to edit the question once again, all special characters do not contain backslashes in front of them. I see something like: $$ a \over

      {a+2}

      $$. The question is then not displayed correctly.

      Thus, in each editing, all backslashes needs be added again.

      Attachments

        1. questiontype1.6.php
          30 kB
        2. questiontype1.7.php
          30 kB
        3. questiontype1.8.php
          31 kB
        4. screenshot-1.jpg
          screenshot-1.jpg
          53 kB

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              fikar Miroslav Fikar
              Nobody Nobody
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Mar/07