diff --git a/user/profile/lib.php b/user/profile/lib.php index 21f50c90cfd..6b9a19acc36 100644 --- a/user/profile/lib.php +++ b/user/profile/lib.php @@ -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); } /**