@@ -127,7 +127,7 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | $this->registerPlugin('button'); |
130 | - return Html::tag($this->tagName, $this->renderIcon() . $label, $this->options); |
|
130 | + return Html::tag($this->tagName, $this->renderIcon().$label, $this->options); |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | |
184 | 184 | // Add icon to label text |
185 | 185 | if (isset($link['icon'])) { |
186 | - $label = $this->renderIcon($link['icon']) . $label; |
|
186 | + $label = $this->renderIcon($link['icon']).$label; |
|
187 | 187 | } |
188 | 188 | |
189 | 189 | $options = $link; |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | if (isset($link['url'])) { |
197 | 197 | return Html::a($label, $link['url'], $options); |
198 | 198 | } else { |
199 | - return Html::tag('span', $label, $options) ; |
|
199 | + return Html::tag('span', $label, $options); |
|
200 | 200 | } |
201 | 201 | } |
202 | 202 |