Fix IntelliSense following closing script/style tag containing whitespace (#808)

master
Brad Cornes 2023-06-27 06:02:17 -04:00 committed by GitHub
parent 1b8fa09000
commit a6c19d7cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
},
}