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