maurodesouza / profile-readme-generator

🎨 Enhance your GitHub profile with this amazing tool, which allows you to create a personalized README quickly and easily. This profile README generator is the best you'll find 🚀
https://profile-readme-generator.com
MIT License
1.63k stars 241 forks source link

[BUG]: Custom title should be URL encoded #48

Closed TetrisIQ closed 1 year ago

TetrisIQ commented 1 year ago

What happens?

If you add your stats and add a custom title including white spaces. The generated URL is not proper encoded and will break not be displayed in the README file.

What are the steps to reproduce this issue?

  1. Add a stat badge
  2. Add a custom title with some white spaces
  3. Generate the README
  4. You can see that the white spaces are displayed in the URL, if you want to display this, the image link is broken.

What were you expecting to happen?

The URL should be correctly URL-encoded.

Additional information about your environment

Additional context

No response