提交 a3af1332 编写于 作者: R rebornix

correct boundary for embedded languages in HTML

上级 62383be3
...@@ -152,12 +152,12 @@ ...@@ -152,12 +152,12 @@
} }
}, },
"end": "(</)((?i:style))(>)(?:\\s*\\n)?", "end": "(</)((?i:style))(>)(?:\\s*\\n)?",
"contentName": "source.css.embedded.html",
"patterns": [ "patterns": [
{ {
"include": "#tag-stuff" "include": "#tag-stuff"
}, },
{ {
"contentName": "source.css.embedded.html",
"begin": "(>)", "begin": "(>)",
"beginCaptures": { "beginCaptures": {
"1": { "1": {
...@@ -192,12 +192,12 @@ ...@@ -192,12 +192,12 @@
"name": "punctuation.definition.tag.html" "name": "punctuation.definition.tag.html"
} }
}, },
"contentName": "source.js.embedded.html",
"patterns": [ "patterns": [
{ {
"include": "#tag-stuff" "include": "#tag-stuff"
}, },
{ {
"contentName": "source.js.embedded.html",
"begin": "(?<!</(?:script|SCRIPT))(>)", "begin": "(?<!</(?:script|SCRIPT))(>)",
"captures": { "captures": {
"1": { "1": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册