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

Quiz downloaded reports contain html markup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 1.8.3
    • Quiz
    • None
    • Any
    • MOODLE_18_STABLE
    • MOODLE_20_STABLE

      To reproduce (in 1.8.3 and 1.9, probably earlier versions as well):

      Create a quiz with essay questions.
      Log in as a student, take the quiz, apply some formatting to the essay answer in the html editor, and submit.
      As a teacher, go to the Item Analysis tab and download the report (any format).

      The student response in the downloaded report will contain html markup. Some of the column headers also contain <br /> tags, and question names and text can contain markup as well. This makes the downloaded reports difficult for faculty to analyze.

      When downloading reports, the html should first be converted to text. A patch is attached (1.9).

      Note that the same issue exists with the Detailed Responses plugin. I'll file a separate report for that one.

        1. example_output_excel.xls
          120 kB
        2. example_output.doc
          699 kB
        3. quizreport.patch
          2 kB

            jamiesensei Jamie Pratt
            adamann2 Ann Adamcik
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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