Skip to content

Commit

Permalink
span should have always a default class
Browse files Browse the repository at this point in the history
  • Loading branch information
runxel committed Jan 7, 2020
1 parent a01312f commit b78eb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags/icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
if HTML code is passed into Html::tag is must be wrappend in an array:
*/
$html = Html::tag('span', [$icon_svg], [
'class' => $cls
'class' => ['simpleicon', $cls]
]);

return $html;
Expand Down

0 comments on commit b78eb94

Please sign in to comment.