mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merged change to format_text from stable
This commit is contained in:
parent
4b52d389b8
commit
3212d2f240
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue