From f21352f55817eeee49f392405f00284ea615aef8 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 25 Jul 2020 02:25:08 +0100 Subject: [PATCH] spell Matrix correctly --- src/components/structures/VectorEmbeddedPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/VectorEmbeddedPage.js b/src/components/structures/VectorEmbeddedPage.js index a67f97cc5f..bf3e727590 100644 --- a/src/components/structures/VectorEmbeddedPage.js +++ b/src/components/structures/VectorEmbeddedPage.js @@ -30,7 +30,7 @@ export default class VectorEmbeddedPage extends EmbeddedPage { s = sanitizeHtml(_t(s)); // ugly fix for https://github.com/vector-im/riot-web/issues/4243 // eslint-disable-next-line max-len - s = s.replace(/\[matrix\]/, '[matrix]'); + s = s.replace(/\[matrix\]/, 'Matrix'); return s; } }