Files

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) {
}