diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 0823be1c4cf..64097780ae5 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2415,7 +2415,7 @@ NONJS; $title = $item->get_title(); if ($item->icon instanceof renderable && !$item->hideicon) { $icon = $this->render($item->icon); - $content = $icon.' '.$content; // use CSS for spacing of icons + $content = $icon.$content; // use CSS for spacing of icons } if ($item->helpbutton !== null) { $content = trim($item->helpbutton).html_writer::tag('span', $content, array('class'=>'clearhelpbutton'));