From ebf1000f1c0f210f2e6789d12ed2484be81ae04e Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 24 Jan 2023 17:13:49 -0500 Subject: [PATCH] the mastodon made me do it; i am blameless --- activity.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activity.go b/activity.go index dee32f9..8cd8772 100644 --- a/activity.go +++ b/activity.go @@ -515,6 +515,8 @@ var re_romalink = regexp.MustCompile(`https://[[:alnum:].]+/objects/[[:alnum:]-] var re_qtlinks = regexp.MustCompile(`>https://[^\s<]+<`) func qutify(user *WhatAbout, content string) string { + // well this is gross + content = strings.ReplaceAll(content, ``, "") mlinks := re_qtlinks.FindAllString(content, -1) for _, m := range mlinks { m = m[1 : len(m)-1]