This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Commit 5e3de8f
Modifying emitter to take brackets into account.
First, instead of directly writting the left or right parenthesis
characters, now functions are called for left or right delimiters
and change in case of parenthesis or brackets.
Second, in case of bracketed list, always add the brackets. Also add
comma in case it is a one-item comma-separate list. Otherwise it would
become a one-item space-separated list.
Third, libsass prevent from emitting invisible items. Thus, an empty
space / comma separated list won't be printed at all but bracketed
list are never invisible, event the empty ones.1 parent 922704c commit 5e3de8f
3 files changed
+38
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
363 | 371 | | |
364 | 372 | | |
365 | | - | |
366 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
367 | 376 | | |
368 | 377 | | |
369 | 378 | | |
| |||
374 | 383 | | |
375 | 384 | | |
376 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
377 | 390 | | |
378 | | - | |
| 391 | + | |
379 | 392 | | |
380 | 393 | | |
381 | 394 | | |
382 | | - | |
383 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
384 | 398 | | |
385 | 399 | | |
386 | 400 | | |
387 | 401 | | |
388 | 402 | | |
389 | | - | |
| 403 | + | |
390 | 404 | | |
391 | 405 | | |
392 | 406 | | |
| |||
415 | 429 | | |
416 | 430 | | |
417 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
418 | 440 | | |
419 | | - | |
| 441 | + | |
420 | 442 | | |
421 | 443 | | |
422 | 444 | | |
423 | | - | |
424 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
425 | 449 | | |
426 | 450 | | |
427 | 451 | | |
428 | 452 | | |
429 | 453 | | |
430 | | - | |
| 454 | + | |
431 | 455 | | |
432 | 456 | | |
433 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments