From b58b0814f60d9e82694b7725fabd8157d2161ffd Mon Sep 17 00:00:00 2001 From: wuxh Date: Thu, 29 Feb 2024 19:09:10 +0800 Subject: [PATCH] fix: logical attribute calc css variable logic error --- src/transformers/legacyLogicalProperties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/legacyLogicalProperties.ts b/src/transformers/legacyLogicalProperties.ts index a820f75..09e07ad 100644 --- a/src/transformers/legacyLogicalProperties.ts +++ b/src/transformers/legacyLogicalProperties.ts @@ -13,7 +13,7 @@ function splitValues( const splitStyle = (importantCells ? importantCells[1] : rawStyle) .trim() - .split(/\s+/); + .split(/(?