From bbb9dd9228a3b707fccd23f08bcc3cc460447d88 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 12 Jun 2017 17:33:02 +0100 Subject: [PATCH] Fix broken riot.im link on homepage For want of a quote the something something Also add noopeners --- src/components/structures/HomePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index e1e700f21e..2311cc1f30 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -46,8 +46,8 @@ module.exports = React.createClass({ translate: function(s) { s = sanitizeHtml(_t(s)); // ugly fix for https://github.com/vector-im/riot-web/issues/4243 - s = s.replace(/Riot\.im/, 'Riot.im'); - s = s.replace(/\[matrix\]/, '[matrix]'); + s = s.replace(/Riot\.im/, 'Riot.im'); + s = s.replace(/\[matrix\]/, '[matrix]'); return s; },