Static badge generation not working when license name contains special characters
See original GitHub issueDescribe the bug
Static badge generation not working when license name contains special characters. Example Apache-2
To Reproduce Steps to reproduce the behavior:
- In your
package.json
, add"license": "Apache-2"
- Run readme generator
- Fill license url
Expected behavior A clear and concise description of what you expected to happen.
Should display a license badge in README with Apache-2
but we get a 404.
Additional context Add any other context about the problem here.
The issue come from shields.io that cannot contains special characters in url. readme-md-generator
should skip special chars in license name.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Error when you create a user name that contains a special ...
The e-mail name contains invalid characters. Cause. This behavior occurs because certain special characters aren't permitted in user names that ...
Read more >c# - How to find whether a string contains any of the special ...
The reason is that there are a lot of characters that could be considered "special characters" and if you try to list them...
Read more >Badges - GitLab Docs
Badges are a unified way to present condensed pieces of information about your projects. They consist of a small image and a URL...
Read more >Shields.io: Quality metadata badges for open source projects
We serve fast and scalable informational images as badges for GitHub, Travis CI, Jenkins, WordPress and many more services. Use them to track...
Read more >Files with special characters in their name not served · Issue #41
First of all, thank you for your work, Azure Static Web App is exactly what I was waiting for! When testing, I noticed,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The review is ongoing there: https://github.com/kefranabg/readme-md-generator/pull/141. Sorry to not have linked those.
I am looking onto it right now.