File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " vscode-html-css" ,
3
3
"displayName" : " HTML CSS Support" ,
4
4
"description" : " CSS Intellisense for HTML" ,
5
- "version" : " 2.0.10 " ,
5
+ "version" : " 2.0.11 " ,
6
6
"license" : " MIT" ,
7
7
"publisher" : " ecmel" ,
8
8
"author" : {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface Style {
20
20
21
21
export function parse ( text : string ) {
22
22
const selector =
23
- / ( [ . # ] ) ( - ? [ _ a - z A - Z ] + [ _ a - z A - Z 0 - 9 - ] * ) (? = [ # . , ( ) \s \[ \] \^ : * " ' > = _ a - z A - Z 0 - 9 - ] * { [ ^ } ] * } ) / g;
23
+ / ( [ . # ] ) ( - ? [ _ a - z A - Z ] + [ \\ ! + _ a - z A - Z 0 - 9 - ] * ) (? = [ # . , ( ) \s \[ \] \^ : * " ' > = _ a - z A - Z 0 - 9 - ] * { [ ^ } ] * } ) / g;
24
24
const styles : Style [ ] = [ ] ;
25
25
const lc = lineColumn ( text , { origin : 0 } ) ;
26
26
let match ,
@@ -40,7 +40,7 @@ export function parse(text: string) {
40
40
line,
41
41
col,
42
42
type : match [ 1 ] as StyleType ,
43
- selector : match [ 2 ] ,
43
+ selector : match [ 2 ] . replaceAll ( "\\" , '' ) ,
44
44
} ) ;
45
45
}
46
46
return styles ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "target" : " ES2020 " ,
3
+ "target" : " ES2021 " ,
4
4
"module" : " ES2020" ,
5
5
"moduleResolution" : " Bundler" ,
6
6
"isolatedModules" : true ,
You can’t perform that action at this time.
0 commit comments