fixed strange yii2 behavior in css class handling

This commit is contained in:
Simon Karlen 2022-01-05 09:41:34 +01:00
parent c6f08a0623
commit a3b52b4519
No known key found for this signature in database
GPG Key ID: 0630C27D666EBCC3

View File

@ -27,6 +27,13 @@ abstract class BaseHtml extends \yii\helpers\Html
* @see getId()
*/
public static $autoIdPrefix = 'i';
/**
* @var bool whether to removes duplicate class names in tag attribute `class` (fix strange yii2 behavior since 2.0.44)
* @see mergeCssClasses()
* @see renderTagAttributes()
* @since 2.0.3
*/
public static $normalizeClassAttribute = true;
/**