question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Static badge generation not working when license name contains special characters

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Zenigatacommented, Oct 7, 2019

The review is ongoing there: https://github.com/kefranabg/readme-md-generator/pull/141. Sorry to not have linked those.

1reaction
Zenigatacommented, Oct 2, 2019

I am looking onto it right now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found