File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ patterns:
179
179
- include : source.coffee
180
180
181
181
- name : source.js.embedded.html
182
- begin : (?:^\s+)?( <)((?i:script))\b(?![^>]*/>)
182
+ begin : (<)((?i:script))\b(?![^>]*/>)(?![^>]*(?i:type.?=.?text/((?!javascript).*)) )
183
183
beginCaptures :
184
184
' 1 ' : {name: punctuation.definition.tag.begin.html}
185
185
' 2 ' : {name: entity.name.tag.script.html}
Original file line number Diff line number Diff line change 597
597
</dict >
598
598
<dict >
599
599
<key >begin </key >
600
- <string >(?:^\s+)?( < )((?i:script))\b(?![^> ]*/> ) </string >
600
+ <string >(< )((?i:script))\b(?![^> ]*/> )(?![^ > ]*(?i:type.?=.?text/((?!javascript).*)) ) </string >
601
601
<key >beginCaptures </key >
602
602
<dict >
603
603
<key >1 </key >
You can’t perform that action at this time.
0 commit comments