From af17ca11c7152cb3ea5a53aa9f76f4300426877e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sun, 23 Feb 2020 22:14:30 +0000 Subject: [PATCH] Use noreferrer in addition to noopener for edge case browsers Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/VectorEmbeddedPage.js | 2 +- src/components/views/auth/VectorAuthFooter.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/VectorEmbeddedPage.js b/src/components/structures/VectorEmbeddedPage.js index 1c3a10679..fc3b41a50 100644 --- a/src/components/structures/VectorEmbeddedPage.js +++ b/src/components/structures/VectorEmbeddedPage.js @@ -29,7 +29,7 @@ export default class VectorEmbeddedPage extends EmbeddedPage { translate(s) { s = sanitizeHtml(_t(s)); // ugly fix for https://github.com/vector-im/riot-web/issues/4243 - s = s.replace(/\[matrix\]/, ''); + s = s.replace(/\[matrix\]/, ''); return s; } } diff --git a/src/components/views/auth/VectorAuthFooter.js b/src/components/views/auth/VectorAuthFooter.js index 45e0c2b25..de38b00a7 100644 --- a/src/components/views/auth/VectorAuthFooter.js +++ b/src/components/views/auth/VectorAuthFooter.js @@ -34,7 +34,7 @@ const VectorAuthFooter = () => { const authFooterLinks = []; for (const linkEntry of links) { authFooterLinks.push( - + {linkEntry.text} , ); @@ -43,7 +43,7 @@ const VectorAuthFooter = () => { return (