mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fix for bug 2878:
HTML block now calls format_string to run filters as required.
This commit is contained in:
parent
2d83f32992
commit
7c7d56bbd9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class block_html extends block_base {
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->content = new stdClass;
|
$this->content = new stdClass;
|
||||||
$this->content->text = isset($this->config->text) ? $this->config->text : '';
|
$this->content->text = isset($this->config->text) ? format_text($this->config->text) : '';
|
||||||
$this->content->footer = '';
|
$this->content->footer = '';
|
||||||
|
|
||||||
return $this->content;
|
return $this->content;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue