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

fix: incorrectly formatted URLs #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KibbeWater
Copy link

What: Fixed a bug where URLs may be malformed and an additonal bug which improved CLS on generated files

Why: Newer GitHub URLs may come with a ?v=4 query already, making these URLs malformed causing errors and incorrect sizings. This will size images properly, saving on data and web load times. There is also a fix to reduce the CLS by defining the width and height of the image.

How: URLs are being formatted with the URL class to ensure URL safety.

Checklist:

  • Documentation (N/A)
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@KibbeWater
Copy link
Author

It has been almost a year since I filed this pull request, yet not a single word from maintainers. Thousands of projects still rely on this tool, yet doing the bare minimum of keeping the project alive is too hard?

Come on...

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

Successfully merging this pull request may close these issues.

1 participant