-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.4
-
None
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
From Daniel Neis Araujo (http://moodle.org/mod/forum/discuss.php?d=127149)
Hello there,
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 —
2380a2381
> $format_options->filter=false;
2662c2663
< $thisresponse = format_text($thisresponse, FORMAT_HTML);
—
> $thisresponse = format_text($thisresponse, FORMAT_HTML, $format_options);
2989c2990
< ?>
\ No newline at end of file
—
> ?>
------