Reporting an issue wherein if you export quiz responses with content like '<—' followed by anything else thereafter, example: '<—String of text', Any text that follows immediately after <--- is stripped from the export.
Steps to replicate:
- Create a course
- Create a quiz
- Create an essay question
- Log in as a student
- Attempt the quiz and add a response, something like:
This is an <---example answer - Save the attempt and submit it
- Log back in as the editing teacher or admin
- Export the quiz response
- Notice the stripped text after export
Observed:
The text in the export is stripped after '<---' but appears fine otherwise on the response report within Moodle.
Expected: The exported responses should contain all text
What I suspect to be happening is that there might be a missing function to escape special characters for each response?