Fix IntelliSense following closing script/style tag containing whitespace (#808)
parent
1b8fa09000
commit
a6c19d7cb4
|
@ -77,11 +77,11 @@ let states = {
|
||||||
...text,
|
...text,
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
cssBlockEnd: { match: '</style>', pop: 1 },
|
cssBlockEnd: { match: /<\/style\s*>/, pop: 1 },
|
||||||
...text,
|
...text,
|
||||||
},
|
},
|
||||||
script: {
|
script: {
|
||||||
jsBlockEnd: { match: '</script>', pop: 1 },
|
jsBlockEnd: { match: /<\/script\s*>/, pop: 1 },
|
||||||
...text,
|
...text,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue