Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: emoji in links

Bettenbuk Zoltanb64294af6db4
diff --git a/react/features/chat/functions.js b/react/features/chat/functions.js
index c28e85f7a5..e455883014 100644
--- a/react/features/chat/functions.js
+++ b/react/features/chat/functions.js
@@ -32,7 +32,7 @@ const EMOTICON_REGEXP_ARRAY: Array<Array<Object>> = [];
// Adding slack-type emoji format
escapedValues.push(escapeRegexp(`:${key}:`));
- const regexp = `(${escapedValues.join('|')})`;
+ const regexp = `\\B(${escapedValues.join('|')})\\B`;
EMOTICON_REGEXP_ARRAY.push([ new RegExp(regexp, 'g'), value ]);
}