From 3212d2f2401aa2ca64f39b847f7cd333d735c5f0 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 16 Apr 2007 06:22:17 +0000 Subject: [PATCH] Merged change to format_text from stable --- user/profile/lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/profile/lib.php b/user/profile/lib.php index 21f50c90cf..6b9a19acc3 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); } /** -- 2.39.5