-
Notifications
You must be signed in to change notification settings - Fork 415
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 CSS: Space inserted after function interpolation #1368
Comments
@PierreGUI the repro is partially broken: However, usage of the proper version does not fix the bug :) It's present. The
I traced it to the following: linaria/packages/tags/src/utils/templateProcessor.ts Lines 129 to 130 in e25e91f
This happens because: linaria/packages/tags/src/utils/stripLines.ts Lines 14 to 20 in e25e91f
As |
@layershifter I have not dug into this personally, just curious if you continued down this debugging journey to figure out why |
Oh, here it is:
|
This might actually be the same as #1141 |
…callstack#1368) This fixes the failing test that was added in callstack#1151.
I just added a PR for this, see #1374 |
…callstack#1368) This fixes the failing test that was added in callstack#1151.
Environment
Description
❌ There's a space between value and unit (invalid CSS)
Example:
Produces ->
Reproducible Demo
https://stackblitz.com/edit/linaria-bug-o9hmgr?file=src%2FTitle.tsx
The text was updated successfully, but these errors were encountered: