]> git.mjollnir.org Git - moodle.git/commitdiff
Clean output for old entries
authormoodler <moodler>
Wed, 14 Jan 2004 13:33:00 +0000 (13:33 +0000)
committermoodler <moodler>
Wed, 14 Jan 2004 13:33:00 +0000 (13:33 +0000)
user/view.php

index 780bcdd8778d10160b7fc6e237c315afcd35943a..cd550ad3fb704c62a29cafcd6c1a7efeac8e2518 100644 (file)
@@ -85,7 +85,7 @@
     // Print the description
 
     if ($user->description) {
-        echo "<p>".format_text($user->description)."</p><hr>";
+        echo "<p>".format_text(clean_text($user->description))."</p><hr>";
     }
 
     // Print all the little details in a list