Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Math operations with comments in between fail #1242

Closed
sepptruetsch opened this issue Nov 3, 2015 · 2 comments
Closed

Math operations with comments in between fail #1242

sepptruetsch opened this issue Nov 3, 2015 · 2 comments

Comments

@sepptruetsch
Copy link

Using

min-width: 20px /* height */ + 2*5px /* padding */ + 2*1px /*border*/;

results in

min-width: 20px 10px 2px;

The comments in between mess it up as

min-width: 20px + 2*5px + 2*1px; /* height + padding + border */

works fine.

Thanks for your time and effort!

@xzyfer
Copy link
Contributor

xzyfer commented Nov 28, 2015

Thanks for the report @sepptruetsch. I can confirm this is a bug with LibSass. I've created an issue to track it with them - sass/libsass#1765

@xzyfer
Copy link
Contributor

xzyfer commented Jan 20, 2016

This is fixed in the upcoming 3.5.0-beta. Subscribe to #1349 for further updates.

@xzyfer xzyfer closed this as completed Jan 20, 2016
@xzyfer xzyfer modified the milestone: next.libsass Sep 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants