From ecf7cfb58e8e55444a2f5859a4e49ca49d9cfeaf Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 22 Oct 2010 12:10:43 +0000 Subject: [PATCH] MDL-24523 markdown may contain html, we need to clean it too --- lib/weblib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index b00818db0e0..b17368fc810 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1695,7 +1695,6 @@ function clean_text($text, $format=FORMAT_MOODLE) { switch ($format) { case FORMAT_PLAIN: - case FORMAT_MARKDOWN: return $text; default: