Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add target=_blank to external links #97

Closed
KyleMit opened this issue Jan 13, 2020 · 0 comments
Closed

Add target=_blank to external links #97

KyleMit opened this issue Jan 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@KyleMit
Copy link
Member

KyleMit commented Jan 13, 2020

From Links to cross-origin destinations are unsafe - target=_blank should also be accompanied by rel=noopener

Regex to check for external links ^https?:\/\/(?!docgov.dev)

Markdown-it docs > architecture > renderer gives an example of extending the link anchor renderer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant