KQMATH / moodle-mod_capquiz

:mushroom: Computer adaptive practice activity module for Moodle
https://moodle.org/plugins/mod_capquiz
GNU General Public License v3.0
4 stars 5 forks source link

Newlines in CSV reports #157

Open hgeorgsch opened 4 years ago

hgeorgsch commented 4 years ago

Including question and answer text in the CSV output gives a syntactically dubious CSV file. Questions and answers often include line breaks, which are included verbatim. Some software may handle it correctly, because the newlines are within quoted strings, but many tools do not, making it harder to process the files. It would be better if the newlines could be represented by escape sequences instead. Current best work around is to skip question/answer text in reports for statistics processing. That is OK, so the issue can wait. (A warning to the user in the UI would be nice though.)