Skip to content

Commit

Permalink
fix(syntax): tokenize attribute body correctly if it contains model k…
Browse files Browse the repository at this point in the history
…eyword
  • Loading branch information
erik-lieben committed Oct 4, 2016
1 parent 1d51470 commit 28dcf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
}
},
"tag-aurelia-model-attribute" : {
"match": "[^=-]((model)(\\.)?((bind|one-time|one-way|two-way)|(ref))?)",
"match": "(?=\\s)[^=-]((model)(\\.)?((bind|one-time|one-way|two-way)|(ref))?)",
"captures": {
"2": {
"name": "model.attribute.html.au"
Expand Down

0 comments on commit 28dcf85

Please sign in to comment.