beautify: don't keep space before ::pseudo elements
This commit is contained in:
parent
f6f6a7814f
commit
692cb29c11
|
@ -508,11 +508,16 @@
|
|||
// sass/less parent reference don't use a space
|
||||
// sass nested pseudo-class don't use a space
|
||||
|
||||
/* Stylus override.
|
||||
Disabling this block since we don't like the result.
|
||||
|
||||
// preserve space before pseudoclasses/pseudoelements, as it means "in any child"
|
||||
if (lookBack(" ") && output[output.length - 1] !== " ") {
|
||||
output.push(" ");
|
||||
outputPosCol++;
|
||||
}
|
||||
*/
|
||||
|
||||
if (peek() === ":") {
|
||||
// pseudo-element
|
||||
next();
|
||||
|
|
Loading…
Reference in New Issue
Block a user