dotless/dotless — Issue #98: Compilation fails after adding comment
Author: WouterBos
Created: 2011-10-27 21:00:15+00:00
State: open

Hi,

I have one Less file that @imports multiple less files. If I add a comment in such an imported file it will fail.

So if I have the following code:

/*
* CSS reset
* These styles will remove some browser differences.
*/
﻿
html {
height: 100%;
overflow-x: auto;
overflow-y: scroll;
text-rendering: optimizeLegibility;
}

I get the following error:

Parse Error on line 5 in file 'gp_reset.less':
[4]: */
[5]: ﻿
^
[6]: html {

If I let the file start with "html {" it's just fine.