Skip to content

Commit

Permalink
fix: attributes regex
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Jul 2, 2021
1 parent 8a60614 commit 17f01f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/mdc.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"attribute": {
"patterns": [
{
"match": "(([\\w\\d-]+)(=[\"]([^\"]*)([\"])|[']([^']*)(['])|=[^\\s'\"]*)?\\s*)",
"match": "(([^=><\\s]*)(=[\"]([^\"]*)([\"])|[']([^']*)(['])|=[^\\s'\"]*)?\\s*)",
"captures": {
"2": {
"name": "entity.other.attribute-name.html"
Expand Down

0 comments on commit 17f01f0

Please sign in to comment.