fedimbed: fix t.co
This commit is contained in:
parent
b3536230f7
commit
f8fabe6c13
1 changed files with 3 additions and 1 deletions
|
@ -1296,7 +1296,9 @@ async function processUrl(msg, url, spoiler = false, command = false) {
|
||||||
quoteRes = await processUrl(msg, quoteUrl, spoiler, command);
|
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);
|
content = htmlToMarkdown(content);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue