leafo/lessphp — Issue #191: variable sustitution
Author: alexsancho
Created: 2012-02-15 01:37:58+00:00
State: open

lessphp v0.3.1 fails to sustitute variables inside a url tag like the example above, extracted from twitter bootstrap v2.0.0

// Sprite icons path
@iconSpritePath: "../img/glyphicons-halflings.png";
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";

[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
line-height: 14px;
vertical-align: text-top;
background-image: url(@iconSpritePath);
background-position: 14px 14px;
background-repeat: no-repeat;

.ie7-restore-right-whitespace();
}
.icon-white {
background-image: url(@iconWhiteSpritePath);
}