diff --git a/public/lib/table/classes/base_export_format.php b/public/lib/table/classes/base_export_format.php index 35653e4c444..bd50af59b29 100644 --- a/public/lib/table/classes/base_export_format.php +++ b/public/lib/table/classes/base_export_format.php @@ -80,8 +80,6 @@ class base_export_format { * @param null|int $courseid */ public function format_text($text, $format = FORMAT_MOODLE, $options = null, $courseid = null) { - // Use some whitespace to indicate where there was some line spacing. - $text = str_replace(['

', "\n", "\r"], ' ', $text); return html_entity_decode(strip_tags($text), ENT_COMPAT); }