Closed nworiekingslee closed 2 years ago
I will go ahead to fix this issue
I noticed it breaks when there's a special character like '-' in the username. I also tried other special characters to see if it affects the md generated. Other symbols allowed like ".", "_" for username doesn't break the generated md
LinkedIn allows "-" in its username, mine for example. I added a statement to check out for the symbol and eliminate it.
const linkedinUsername = document.getElementById('linkedinUsername').value, ...
const linkedinUsername = document.getElementById('linkedinUsername').value.replace("-", ""), ...
While at it, I corrected a misspelling I noticed in the generated md
Hi ,I Am ${nameOfUser}! ...
Hi ,I am ${nameOfUser}! ..
@rajivranjanmars I made a PR-(https://github.com/rajivranjanmars/readme/pull/14)
Sweeet! I will go ahead to close this issue.