]> git.mjollnir.org Git - moodle.git/commitdiff
Merged change to format_text from stable
authormoodler <moodler>
Mon, 16 Apr 2007 06:22:17 +0000 (06:22 +0000)
committermoodler <moodler>
Mon, 16 Apr 2007 06:22:17 +0000 (06:22 +0000)
user/profile/lib.php

index 21f50c90cfd1454f1cce2af7c45931dfe5565a29..6b9a19acc3639e5b8f2abed5ce9b2e5736838991 100644 (file)
@@ -53,7 +53,8 @@ class profile_field_base {
      * Display the data for this field
      */
     function display_data() {
-        return s(format_string($this->data));
+        $options->para = false;
+        return format_text($this->data, FORMAT_MOODLE, $options);
     }
     
     /**