-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
error with e() function (since 3.10.1) #3420
Comments
@cor3000 What are you trying to achieve? It's true you can't dump a quoted value in the root of a stylesheet, although I'm not sure why it worked before. |
@cor3000 It looks like I need to change the behavior to say that, yes, a quoted value is not allowed in the root, but an escaped quoted value is fine. |
I'm trying to what the documentation says: output " proprietary syntax which Less doesn't recognize." In our case our css stylesheets contain non standard root level text that's processed at runtime. |
@cor3000 I've set it as a high-priority bug, but not sure when I or someone else can get to it. Hopefully this week. |
Thanks, so far using 3.9.0 works for us. |
How would I output a string like this, at root level?
I know this is not css but something our legacy pre-prossessor understands during runtime to add session specific information e.g. for locale dependent styles. I.e. equivalent for https://sass-lang.com/documentation/functions/string#unquote |
@cor3000 I just pushed a new version, should work. |
@matthew-dean thanks for the quick fix, works like a charm on 3.10.3 |
compile this less code containing using the e() function (using 3.10.1)
reproduced with node versions: 10.16 LTS, 12.7, 12.8.1
result
the same less code compiles as expected in 3.9.0
maybe related to #3345
The text was updated successfully, but these errors were encountered: