From Daniel Neis Araujo (http://moodle.org/mod/forum/discuss.php?d=127149)
i work on a project in Federal University of Santa Catarina, in Brazil, and some users noticed that when they exports questionnaire to CSV format, some HTML tags appear.
The problem is on the format_text that is called and filters are applied. I've attached a patch that corrects this behaviour, calling format_text without filters...
Hope you like.
— patch —
< $thisresponse = format_text($thisresponse, FORMAT_HTML);
> $thisresponse = format_text($thisresponse, FORMAT_HTML, $format_options);
\ No newline at end of file