diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index e1e700f2..2311cc1f 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; },