Skip to content

Commit adf97a4

Browse files
authored
fix(preprocess): exclude selector RTL rules (#3488)
1 parent b61cb28 commit adf97a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preprocess/preprocess.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ func removeRTL(input string) string {
793793
},
794794
{
795795
Name: "Remove [dir=rtl] blocks",
796-
Regex: `\[dir=rtl\].+?\{.+?\}`,
796+
Regex: `\[dir=rtl\][^)]+?\{.+?\}`,
797797
Replacement: func(submatches ...string) string {
798798
return ""
799799
},

0 commit comments

Comments
 (0)