encodeURI the href to prevent XSS attacks via ending the quote and adding arbitrary scripts in onmouseover/onclick #2
Enhance your code review process with GitHub Actions
GitHub Actions make it easy to automate all your software workflows, now with world-class CI/CD.
Build, test, and deploy your code right from GitHub. Learn more about GitHub Actions.