From 356e897da9389acba016e2691863bbe521d1e7df Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 16 Apr 2007 06:21:23 +0000 Subject: [PATCH] Small tweak to use format_text by default because it does some nice things like highlight URLs --- 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 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); } /**