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

Cloze (multianswer) question special character issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.6.5, 1.7.2, 1.8, 1.9
    • 1.6.1
    • Questions
    • None
    • MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      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.

        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

            timhunt Tim Hunt
            fikar Miroslav Fikar
            Nobody Nobody
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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