From 360614d9e144aaf7d8061a7a5886b74a24ce21cb Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Sat, 31 Aug 2024 06:27:14 +0900 Subject: [PATCH] Clean up tainted postcss rule object after making flatten CSS nesting --- src/postcss/nesting.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/postcss/nesting.js b/src/postcss/nesting.js index 2dfab34..a17946d 100644 --- a/src/postcss/nesting.js +++ b/src/postcss/nesting.js @@ -37,6 +37,8 @@ export const nesting = postcssPlugin( // pseudo-class applyPostCSSIsPseudoClass(rule, helpers) } + + delete rule.__marpitNestingOriginalSelector } }, )