less4j
less4j copied to clipboard
Inconsistency with less.js
Hello.
We use LESS4j for a year and we are happy with it. Thanks for the great work.
I just have noticed an inconsistency:
@web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700";
.web-font(@path) {
@import url("@{path}");
}
.web-font(@web-font-path);
Results with lessjs:
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");
Results with less4j:
ERROR 959:3 The file @{path}.less does not exist.
958: .web-font(@path) {
959: @import url("@{path}");
960: }
at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.compile(ThreadUnsafeLessCompiler.java:87)
at com.github.sommeri.less4j.core.DefaultLessCompiler.compile(DefaultLessCompiler.java:56)
Thanks, Guillaume Delhumeau