We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94aad02 commit 54d8a58Copy full SHA for 54d8a58
src/modules/ast/css.js
@@ -112,7 +112,7 @@ exports.JSON = function(cssText) {
112
113
skipWhitespace();
114
115
- if (/^[.#a-zA-Z0-9\-\s,:]+$/.test(selectorText)) {
+ if (/^[.#a-zA-Z0-9\-\s,:()]+$/.test(selectorText)) {
116
const selectors = selectorText.split(',').map(s => s.trim());
117
const properties = {};
118
const nestedRules = [];
0 commit comments