Add rel=noopener on changelog links
This commit is contained in:
parent
737afc759b
commit
431221c21e
@ -74,6 +74,7 @@ export default {
|
||||
for (const link of links) {
|
||||
// Make sure all links will open a new tab instead of exiting the application
|
||||
link.setAttribute("target", "_blank");
|
||||
link.setAttribute("rel", "noopener");
|
||||
|
||||
if (link.querySelector("img")) {
|
||||
// Add required metadata to image links, to support built-in image viewer
|
||||
|
Loading…
Reference in New Issue
Block a user