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

Quiz responses exported > missing text when using less than / HTML delimiter ("<xxx")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.1.6, 4.3
    • Quiz
    • None
    • MOODLE_401_STABLE, MOODLE_403_STABLE

      When a quiz allows students to write essay questions, student answer in an HTML text.

      When the teachers choose to export students replies ("CSV file with answers") for this quiz, we see the following bug :

      If a student has an HTML delimiter (opening) in its text, as "<3" or "<x", this is detected as HTML tag (I think) and it is cleaned up.

      The result is that all text written by a student starting with this tag, and up until a closing tag is found (as ">" for example) does disappear from exported XLS/CSV.

      I know that the formatted text (HTML) written by the student has to be converted to raw text to be able to have it inside XLS/CSV. But we should have all raw text in XLS/CSV file, and this tag should not be detected as HTML.

      Other tracker issue that seems to be linked (but not same problem) : https://tracker.moodle.org/browse/MDL-74897

      NB : This issue was not present when we were using Moodle 3.11. It seems it came back with Moodle 4, because discussions about this problem started a long time ago.

      Examples :

            Unassigned Unassigned
            acamacho André Camacho
            Votes:
            2 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.