Skip to content

Commit 1c8d1aa

Browse files
(css parser) Fix
1 parent 07439d8 commit 1c8d1aa

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
@@ -116,7 +116,7 @@ exports.JSON = function(cssText) {
116116

117117
skipWhitespace();
118118

119-
if (/^[.#a-zA-Z0-9\-\s,:()%*]+$/.test(selectorText)) {
119+
if (/^[.#a-zA-Z0-9\-\s,:()%*+]+$/.test(selectorText)) {
120120
const selectors = selectorText.split(',').map(s => s.trim());
121121
const properties = {};
122122
const nestedRules = [];

0 commit comments

Comments
 (0)