From b78eb94d8fb3477e703067e91bb95a9bbc3cf2d8 Mon Sep 17 00:00:00 2001 From: Lucas Becker Date: Tue, 7 Jan 2020 21:45:40 +0100 Subject: [PATCH] span should have always a default class --- tags/icon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags/icon.php b/tags/icon.php index d3b71b6..302aec2 100644 --- a/tags/icon.php +++ b/tags/icon.php @@ -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;