Skip to content

Commit a3af133

Browse files
committed
correct boundary for embedded languages in HTML
1 parent 62383be commit a3af133

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/html/syntaxes/html.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@
152152
}
153153
},
154154
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
155-
"contentName": "source.css.embedded.html",
156155
"patterns": [
157156
{
158157
"include": "#tag-stuff"
159158
},
160159
{
160+
"contentName": "source.css.embedded.html",
161161
"begin": "(>)",
162162
"beginCaptures": {
163163
"1": {
@@ -192,12 +192,12 @@
192192
"name": "punctuation.definition.tag.html"
193193
}
194194
},
195-
"contentName": "source.js.embedded.html",
196195
"patterns": [
197196
{
198197
"include": "#tag-stuff"
199198
},
200199
{
200+
"contentName": "source.js.embedded.html",
201201
"begin": "(?<!</(?:script|SCRIPT))(>)",
202202
"captures": {
203203
"1": {

0 commit comments

Comments
 (0)