fedimbed: ensure masked link alt text gets cleared as well
This commit is contained in:
parent
c0327e1f98
commit
92e803b9bb
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ events.add("messageCreate", "fedimbed", async function (msg) {
|
|||
url = url
|
||||
.replace(/\|/g, "")
|
||||
.replace(/^\]\(/, "")
|
||||
.replace(/\)$/, "")
|
||||
.replace(/\s*[\S]*?\)$/, "")
|
||||
.trim()
|
||||
.replace("@\u200b", "@")
|
||||
.replace("@%E2%80%8B", "@");
|
||||
|
|
Loading…
Reference in a new issue