diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 05b37f5..722a5fb 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -1296,7 +1296,9 @@ async function processUrl(msg, url, spoiler = false, command = false) { quoteRes = await processUrl(msg, quoteUrl, spoiler, command); } - content = content.replaceAll(/tw\.(counter-strike\.gay|c7\.pm)/g, "twitter.com"); + content = content + .replaceAll(/tw\.(counter-strike\.gay|c7\.pm)/g, "twitter.com") + .replaceAll(/twitter\.com\/t\.co/g, "t.co"); } content = htmlToMarkdown(content);