Closed KyleMit closed 4 years ago
From Links to cross-origin destinations are unsafe - target=_blank should also be accompanied by rel=noopener
target=_blank
rel=noopener
Regex to check for external links ^https?:\/\/(?!docgov.dev)
^https?:\/\/(?!docgov.dev)
Markdown-it docs > architecture > renderer gives an example of extending the link anchor renderer
From Links to cross-origin destinations are unsafe -
target=_blank
should also be accompanied byrel=noopener
Regex to check for external links
^https?:\/\/(?!docgov.dev)
Markdown-it docs > architecture > renderer gives an example of extending the link anchor renderer