Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid processing of escaped calc() expressions #60

Closed
aurelien-minvielle opened this issue Sep 26, 2019 · 0 comments
Closed

Invalid processing of escaped calc() expressions #60

aurelien-minvielle opened this issue Sep 26, 2019 · 0 comments

Comments

@aurelien-minvielle
Copy link

Given:

calc(~"100% - 4em")

Expected behaviour:

calc(100% - 4em)

Actual behaviour:

calc(~"100% - 4em")

Escaped expressions are no longer needed on recent version of less.js, but are frequent in old stylesheets to workaround old less.js bugs such as this one: less/less.js#974

This would help migration from the old java binding https://github.com/marceloverdijk/lesscss-java to jlessc, as lesscss-java is stucked at less v1.7.0 that requires those calc(~"@{a} - @{b}") constructs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant