Fix for bug 2878:

HTML block now calls format_string to run filters as required.
This commit is contained in:
defacer 2005-05-17 15:01:10 +00:00
parent 2d83f32992
commit 7c7d56bbd9

View file

@ -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;