Skip to content

Commit 54d8a58

Browse files
Fix
1 parent 94aad02 commit 54d8a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/ast/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ exports.JSON = function(cssText) {
112112

113113
skipWhitespace();
114114

115-
if (/^[.#a-zA-Z0-9\-\s,:]+$/.test(selectorText)) {
115+
if (/^[.#a-zA-Z0-9\-\s,:()]+$/.test(selectorText)) {
116116
const selectors = selectorText.split(',').map(s => s.trim());
117117
const properties = {};
118118
const nestedRules = [];

0 commit comments

Comments
 (0)