Fix bug where math would not compile correctly in LESS version#36
Fix bug where math would not compile correctly in LESS version#36fk merged 1 commit intoselect2:masterfrom lway:master
Conversation
|
Hi @lway, thanks for contributing! I'm working on the next release and just compiled the Less sources ( |
|
I work with lway and we're on 2.6.0. Updating to 2.7.1 does fix the issue. It seems like this change is preferable for backwards compatibility and readability though. |
|
Hi @trappar, thanks for coming back so quick. I will merge the pull request (and port changes to Sass) – good to know that the issue is fixed in the latest version though! |
Math in LESS won't be done unless it's surrounded by parenthesis. The result of compiling the LESS currently is something like "padding: 6px 12px + 4px*3 6px 6px". This fixes that issue.