To reproduce:
// less code here
@varx: foo;
@container @varx (min-width: @threshold){
/* ... */
}
Current behavior:
/* trailing space after the variable gets removed
=> 'foo' handled as a function
=> fail */
@container foo(min-width: 1024px){
/* ... */
}
Expected behavior:
/* space chars preserved */
@container foo (min-width: 1024px){
/* ... */
}
Environment information:
less version: 4.4.1+
nodejs version: 24.13.0
operating system: Windows
Temporary workaround:
@varx: foo;
@varxs: ~"@{varx} ";
@container @varxs (min-width: @threshold){
/* ... */
}