Skip to content

Commit 60cbff5

Browse files
committed
Update css selectors validation
1 parent 2e45de7 commit 60cbff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@
113113

114114
<xs:simpleType name="htmlIdentifierType">
115115
<xs:restriction base="xs:string">
116-
<xs:pattern value="[a-zA-Z][a-zA-Z\d\-_:]*"/>
116+
<xs:pattern value='[^"=]*'/>
117117
</xs:restriction>
118118
</xs:simpleType>
119119

120120
<xs:simpleType name="htmlClassType">
121121
<xs:restriction base="xs:string">
122-
<xs:pattern value="[a-zA-Z][a-zA-Z\d\-_:]*(\s[a-zA-Z][a-zA-Z\d\-_:]*)*"/>
122+
<xs:pattern value='[^"=]*'/>
123123
</xs:restriction>
124124
</xs:simpleType>
125125

0 commit comments

Comments
 (0)