Skip to content

Commit 2b44b9e

Browse files
authored
Allow more htmlClasses
Supports classes with !important as used in Tailwind 3 https://tailwindcss.com/docs/configuration#important-modifier <p class="font-bold md:!font-medium">
1 parent 3bf511a commit 2b44b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Layout/etc/elements.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
<xs:simpleType name="htmlClassType">
121121
<xs:restriction base="xs:string">
122-
<xs:pattern value="[a-zA-Z\d\-_/:.\[\]&amp;@() ]*"/>
122+
<xs:pattern value="[a-zA-Z\d\-_/:.\[\]&amp;@()! ]*"/>
123123
</xs:restriction>
124124
</xs:simpleType>
125125

0 commit comments

Comments
 (0)