@maizzle/framework 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -146,7 +146,7 @@ export async function inline(html = '', options = {}) {
|
|
|
146
146
|
const { selector } = rule
|
|
147
147
|
|
|
148
148
|
// Add the selector to the set as long as it's not a pseudo selector
|
|
149
|
-
if (
|
|
149
|
+
if (!/.+[^\\\s]::?\w+/.test(selector)) {
|
|
150
150
|
selectors.add({
|
|
151
151
|
name: selector,
|
|
152
152
|
prop: get(rule.nodes[0], 'prop')
|