mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
354 B
354 B
Keep leading + glued in An+B notation (#19738 by @lazerg)
The An+B grammar doesn't allow whitespace between a leading + and the n, so the extra space produced invalid output.
/* Input */
a:nth-child(+3n+2) {
}
/* Prettier stable */
a:nth-child(+ 3n + 2) {
}
/* Prettier main */
a:nth-child(+3n + 2) {
}