Skip to content

Commit

Permalink
update html and php regex to not match class props unless proceeded b…
Browse files Browse the repository at this point in the history
…y a space
  • Loading branch information
Trapfether committed Nov 29, 2023
1 parent 106c62b commit 7631ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
],
"html": [
[
"class=(([\"'`])(?:(?:[^{}<>](?!\\2))|\\\\\\2)+[^{}<>])\\2",
"\\sclass=(([\"'`])(?:(?:[^{}<>](?!\\2))|\\\\\\2)+[^{}<>])\\2",
"[\"'`]([^]+)"
]
],
Expand Down Expand Up @@ -100,7 +100,7 @@
],
"php": [
[
"class=(([\"'`])(?:(?:[^{}<>](?!\\2))|\\\\\\2)+[^{}<>])\\2",
"\\sclass=(([\"'`])(?:(?:[^{}<>](?!\\2))|\\\\\\2)+[^{}<>])\\2",
"[\"'`]([^]+)"
]
]
Expand Down

0 comments on commit 7631ffc

Please sign in to comment.