In the "expanded" and the "compressed" modes, the replacements don't contain spaces; in "compact" mode, however, they do.
Also: In the values of content rules, nothing should be replaced at all (that's also true for the other format modes), because the value is rendered by the browser as-is.
Take the following LESS file:
What this should compile to when using the
"compact"
format is:What is does compile to is this:
As you can see, extra spaces are added before the opening and before the closing brace.
This is due to this part of the code:
In the "expanded" and the "compressed" modes, the replacements don't contain spaces; in "compact" mode, however, they do.
Also: In the values of
content
rules, nothing should be replaced at all (that's also true for the other format modes), because the value is rendered by the browser as-is.