Less fails at non-standard whitespace and newline chars
Open
Nobody has claimed this yet.
bug
medium priority
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
This a broken issue with less@2.5.0. I've tested less@2.4.0 and it is working.
Related grunt-contrib-less which is where I discoverd this.
Here's a test case that breaks
.opacity(@op:100) {
filter:alpha(opacity=@op);
-moz-opacity:@op/100;
-khtml-opacity:@op/100;
opacity:@op/100;
}
body {
.opacity();
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied LESS testcase and compare its behavior under less@2.4.0 and less@2.5.0, focusing on the non-standard whitespace and newline characters. Done means the testcase compiles correctly under the affected version without regressing the working 2.4.0 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100