Small tweak to use format_text by default because it does some nice things like highlight URLs

This commit is contained in:
moodler
2007-04-16 06:21:23 +00:00
parent 1729e73566
commit 356e897da9
+2 -1
View 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);
}
/**