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

Plain text essays mess up HTML special characters.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.3.5, 2.4.2
    • 2.3.4, 2.4.1, 2.5
    • Questions
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide

      1. Create an essay question that uses Plain text Response format.
      2. Preview the question, and input a response that includes HTML special characters. (See, for example https://moodle.org/mod/forum/discuss.php?d=220480#p963039.)
      3. Sumbit all and finish. Verify that the response has been saved and re-displayed correctly.

      4. Ideally verify the other three response format also still work.

      Show
      1. Create an essay question that uses Plain text Response format. 2. Preview the question, and input a response that includes HTML special characters. (See, for example https://moodle.org/mod/forum/discuss.php?d=220480#p963039 .) 3. Sumbit all and finish. Verify that the response has been saved and re-displayed correctly. 4. Ideally verify the other three response format also still work.

      Steps to reproduce:

      1. Create an essay question where the response format is 'Plain text', not 'HTML editor'.

      2. Preview the question using deferred feedback, and enter a response like:

      Here <is> some junk</is>:

      x < 1

      3. Submit all and finish.

      Expected result:

      The question is shown in review mode, with the student's answer clearly visible.

      Actual result:

      The review shows

      Here some junk:

      x < 1

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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