Repository navigation
Fixes #5014 by avoiding adding whitespace and line breaks to urls - #8392
Closed
robert-j-webb wants to merge 1 commit into
Closed
robert-j-webb wants to merge 1 commit into
robert-j-webb wants to merge 1 commit into
Conversation
alexander-akait
approved these changes
May 25, 2020
Member
|
I wrote this? |
Member
|
@fisker it is not ideal solution, but better than we have right now |
Member
|
I know, but the commit shows I wrote it? I don't remeber. 😄 |
Contributor
Author
I have no idea why your name is on this commit, I may have made a mistake while amending it or something? Sorry! I changed it to my name. |
…urls Spent the whole day on this. Really nasty problem. Happy to make any changes to it. Unfortunately: I can't distinguish between: url(fbglyph:cross-outline , fig-white); and url(url.com/Prettier+Sans&size=500,400,300,1000,600); However the fbglygh: syntax isn't really supported by CSS, and this change means that prettier won't break stylesheets.
Contributor
Author
|
Friendly bump! Hey is there anything else I can do to get this merged? |
Member
|
#7592 seems to fix the same thing and cover more edge cases. |
Member
|
I'm going to close this PR because #7592 is indeed a more extensive fix. I should have noticed that earlier. I'm really sorry. |
Contributor
Author
|
No problem! I'm happy to see the bug go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spent the whole day on this. Really nasty problem. Happy to make any changes to it.
Unfortunately: I can't distinguish between:
url(fbglyph:cross-outline , fig-white);andurl(url.com/Prettier+Sans&size=500,400,300,1000,600);However the fbglygh: syntax isn't really supported by CSS, and this change means that prettier won't break stylesheets.
Fixed an issue where prettier mangled CSS urls that were unqoted and had commas or addition signs in them.
docs/directory)changelog_unreleased/*/pr-XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.✨Try the playground for this PR✨