I'm using the function hack to do some simple inline calculations and noticed that the escaped string keeps adding a trailing space when compiled. This makes it impossible to put units after it:
@fn: `fn = function(a) { return a * 2; }`;
a {
width: `fn(25)`px;
}
Compiles to the following, note the space between the value and the px units:
I'm using the function hack to do some simple inline calculations and noticed that the escaped string keeps adding a trailing space when compiled. This makes it impossible to put units after it:
Compiles to the following, note the space between the value and the px units: