-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
broken escaping #578
Comments
@eeve btw, why your use |
I'm running into the exact same issue. In my case escape sequences are used in Predix-UI CSS Modules, e.g: So that basically means I can't use those Any ideas for a quick workaround? |
@jschlieber unfortunately no, try to found and fix problem today |
@evilebottnawi Any news on this issue? |
@jschlieber I was on vacation, in the near future I will take care of this, thanks for waiting |
@jschlieber |
@jschlieber also |
Bug inside @jschlieber @TrySound what do your think about this? |
@evilebottnawi Ok, but what you're telling me is that i can't define my css selector as: .u-m++{
...
} and I'm totally fine with that. But still, if classes are defined like this .u-m\00002b{
...
} as in the PredixUi CSS library (which btw is valid css). I can't use it like it is intended, e.g. <div class="u-m+">
...
</div> because it ends up as .u-m00002b{
...
} so I would have to use it like this <div class="u-m00002b">
...
</div> |
@jschlieber test("selector with unicode", ".u-m\\00002b { a: b c d; }", [
[1, ".u-m\\00002b { a: b c d; }", ""]
]);
.u-m\00002b {
border: 10px solid black;
}
.u-m\00002b {
border: 10px solid black;
}
|
@jschlieber Thanks for issue, confirmed. Let's wait what says @TrySound (he has access for |
@evilebottnawi Thanks for your efforts. Any news on this one? |
@jschlieber no 😞 |
I guess it's something in selector tokenizer. Patch release will help. However I don't have access yet. |
+1 from us as well |
+1 This fix is needed. |
I've got a workaround detailed here |
I found where this is being caused: |
It appears that by the time it hits this file, classes like |
Hmm... also turning CSS modules off with |
Just infromation: .icon-caret-left:before {
content: '"\\f10c"'
} Also broken |
+1 |
I'm having a slightly different issue. Loader
input.css
transforms to: output.css
☝️ notice the uppercasing of |
Another similar bug: input.css
output.css
|
same problem. |
delete space fix this problem |
All fixed in master exclude selectors, it is very hard, workaround use |
Broken also (when modules enable): :root {
--title-align: center;
--sr-only: {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
clip-path: inset(50%);
border: 0;
};
} |
Hello, When using CSS modules and
=>
|
@dulakm problem in css modules plugins (for postcss), feel free investigate and send a PR |
my base64 image: escaped to: notice the |
What is the current behavior?
The escape symbol
\
was lost=>
What is the expected behavior?
Keep the escape symbol
\
https://github.com/eeve/test.v1
The text was updated successfully, but these errors were encountered: