all repos — honk @ ef1c1ed4808cbd3bea43ca3c7ce92b84ff3cdc71

my fork of honk

the mastodon made me do it; i am blameless
Ted Unangst tedu@tedunangst.com
Tue, 24 Jan 2023 17:13:49 -0500
commit

ef1c1ed4808cbd3bea43ca3c7ce92b84ff3cdc71

parent

af18b76516cfa7060753899fcd909381ab75c059

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.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, `</span><span class="ellipsis">`, "") mlinks := re_qtlinks.FindAllString(content, -1) for _, m := range mlinks { m = m[1 : len(m)-1]