Sound better now!

environments/review-develop-3zknud/deployments/3339^2
Alex Gleason 2023-05-05 16:26:58 +00:00 zatwierdzone przez Ahmad Dakhlallah
rodzic 06d8370fe6
commit 7a0ce1aab4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ export function isRtl(text: string): boolean {
return false;
}
// Remove http(s), (s)ftp, ws(s), blob and smtp(s) links
text = text.replace(/(?:https?|ftp|sftp|ws|wss|blob|smtp|smtps):\/\/[\n\S]+/g, '');
text = text.replace(/(?:https?|ftp|sftp|ws|wss|blob|smtp|smtps):\/\/[\S]+/g, '');
// Remove email address links
text = text.replace(/(mailto:)([^\s@]+@[^\s@]+\.[^\s@]+)/g, '');
// Remove Phone numbe links