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 22 "name" : " vscode-html-css" ,
33 "displayName" : " HTML CSS Support" ,
44 "description" : " CSS Intellisense for HTML" ,
5- "version" : " 2.0.10 " ,
5+ "version" : " 2.0.11 " ,
66 "license" : " MIT" ,
77 "publisher" : " ecmel" ,
88 "author" : {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface Style {
2020
2121export function parse ( text : string ) {
2222 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;
2424 const styles : Style [ ] = [ ] ;
2525 const lc = lineColumn ( text , { origin : 0 } ) ;
2626 let match ,
@@ -40,7 +40,7 @@ export function parse(text: string) {
4040 line,
4141 col,
4242 type : match [ 1 ] as StyleType ,
43- selector : match [ 2 ] ,
43+ selector : match [ 2 ] . replaceAll ( "\\" , '' ) ,
4444 } ) ;
4545 }
4646 return styles ;
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "target" : " ES2020 " ,
3+ "target" : " ES2021 " ,
44 "module" : " ES2020" ,
55 "moduleResolution" : " Bundler" ,
66 "isolatedModules" : true ,
You can’t perform that action at this time.
0 commit comments