pull/4650/head
Daniel Imfeld 6 years ago
parent 5494fda8ca
commit 9a297b68dc

@ -379,7 +379,7 @@ export default class Element extends Node {
}
if (/(^[0-9-.])|[\^$@%&#?!|()\[\]{}^*+~;]/.test(name)) {
if (/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/.test(name)) {
component.error(attribute, {
code: `illegal-attribute`,
message: `'${name}' is not a valid attribute name`,

Loading…
Cancel
Save