Fix class detection in Slim templates with attached attributes and IDs (#14019)
* Fix class detection in Slim templates with attached attributes and IDs * Update changelog * Tweak regex
This commit is contained in:
parent
d622977b2a
commit
bdc87ae1d7
3 changed files with 24 additions and 1 deletions
|
|
@ -152,6 +152,9 @@ function* buildRegExps(context) {
|
|||
utility,
|
||||
])
|
||||
}
|
||||
|
||||
// 5. Inner matches
|
||||
yield /[^<>"'`\s.(){}[\]#=%$][^<>"'`\s(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g
|
||||
}
|
||||
|
||||
// We want to capture any "special" characters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue