diff --git a/src/components/structures/VectorEmbeddedPage.js b/src/components/structures/VectorEmbeddedPage.js
index a67f97cc..bf3e7275 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\]/, '');
+ s = s.replace(/\[matrix\]/, '');
return s;
}
}