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

Quiz downloaded reports contain html markup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 2.0
    • Component/s: Quiz
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    24/Nov/10