Fix css parsing on function composition
This commit is contained in:
parent
d0f2d10f39
commit
4e4ed11a47
|
|
@ -320,7 +320,7 @@ function read_arguments(it, composition, doodle) {
|
|||
arg += c;
|
||||
}
|
||||
|
||||
if (composition && (it.curr() == ')' || !/[0-9a-zA-Z_\-.]/.test(it.curr())) && !stack.length) {
|
||||
if (composition && (it.curr(1) == ')' || !/[0-9a-zA-Z_\-.]/.test(it.curr())) && !stack.length) {
|
||||
if (group.length) {
|
||||
args.push(normalize_argument(group));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue