MDL-55796 core: Do not escape pix_icon URLs
Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
e119bf6f2b
commit
ee9dd6a278
@@ -597,7 +597,7 @@ class pix_icon implements renderable, templatable {
|
||||
*/
|
||||
public function export_for_template(renderer_base $output) {
|
||||
$attributes = $this->attributes;
|
||||
$attributes['src'] = $output->pix_url($this->pix, $this->component);
|
||||
$attributes['src'] = $output->pix_url($this->pix, $this->component)->out(false);
|
||||
$templatecontext = array();
|
||||
foreach ($attributes as $name => $value) {
|
||||
$templatecontext[] = array('name' => $name, 'value' => $value);
|
||||
|
||||
Reference in New Issue
Block a user