cloudhead/less.js — Issue #548: less.js 1.1.6 does not properly parse url(../folder/filename.jpg)
Author: ChrisCinelli
Created: 2012-01-05 19:20:49+00:00
State: open

I have the same problem and it does not seem to be fixed in 1.1.6 (the latest you can install with npm on node.js):

layout.less:

html.wood-layout, .wood-layout body {
background: url(../img/Wood.jpg) #eee repeat top left ;
}

The content of url() is left unchanged. So in case I have at http://www.example.com/controller/action with html:

...

...

The "../img/Wood.jpg" points to http://www.example.com/controller/img/Wood.jpg instead of http://www.example.com/img/Wood.jpg

This need to be fixed!