From d95c1e6604b5232b6ee3478f1724cf4aec5c8734 Mon Sep 17 00:00:00 2001 From: gieoon Date: Sat, 11 Feb 2023 16:36:05 +1300 Subject: [PATCH] updating to handle :is() --- lib/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parser.js b/lib/parser.js index d90efab..7a0e333 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -203,7 +203,7 @@ function parseSelector(token) { type: 'rule', // fix css case: .my-class:not(.class1, .class2) // Also case for: .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) - selectors: token.text.split(/(? f).map(trim), declarations: parseDeclarations(token) }); }