mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Merge pull request #20610 from rebornix/HTMLGrammar
correct boundary for embedded languages in HTML
This commit is contained in:
commit
813db38907
|
@ -152,12 +152,12 @@
|
|||
}
|
||||
},
|
||||
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
|
||||
"contentName": "source.css.embedded.html",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
},
|
||||
{
|
||||
"contentName": "source.css.embedded.html",
|
||||
"begin": "(>)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
|
@ -192,12 +192,12 @@
|
|||
"name": "punctuation.definition.tag.html"
|
||||
}
|
||||
},
|
||||
"contentName": "source.js.embedded.html",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
},
|
||||
{
|
||||
"contentName": "source.js.embedded.html",
|
||||
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
||||
"captures": {
|
||||
"1": {
|
||||
|
|
Loading…
Reference in a new issue