kefranabg/readme-md-generator
View on GitHubGetting wrong output form input of any username with a trailing underscore
Open
#206 opened on Apr 16, 2020
bughelp wanted
Description
Description When inputting usernames (Twitter, Github, Linkedin or Patreon) with a trailing underscore (i.e foo_), a backward slash is inserted before the trailing underscore leading to errors loading the badge correctly and having to manually fix it.
To Reproduce Steps to reproduce the behavior: Input:
GitHub username (use empty value to skip) foo_
Output
GitHub username (use empty value to skip) foo\_
- Run
npx readme-md-generator - Skip to username input part
- When asked to input Github username, key in
foo_ - See error
ScreenShot

Desktop:
- OS: [MacOS Catalina]
- Version [10.15.3]