Merged change to format_text from stable

This commit is contained in:
moodler 2007-04-16 06:22:17 +00:00
parent 4b52d389b8
commit 3212d2f240

View file

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