diff --git a/lib/weblib.php b/lib/weblib.php index 762d4a93781a3..04d4567e01f76 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1445,7 +1445,6 @@ function clean_text($text, $format = FORMAT_MOODLE) { switch ($format) { case FORMAT_PLAIN: - case FORMAT_MARKDOWN: return $text; default: