all repos — honk @ 2ad14eeb96a688ed915c95b5d2ace9bfa574b24d

my fork of honk

better handling of Link attachment types
Ted Unangst tedu@tedunangst.com
Sat, 10 Jun 2023 23:33:27 -0400
commit

2ad14eeb96a688ed915c95b5d2ace9bfa574b24d

parent

db3aac04ae890fed68c87d7468444e4363d5e900

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

jump to
M activity.goactivity.go

@@ -882,6 +882,14 @@ } else {

localize = true } } + } else if at == "Link" { + if waspage { + xonk.Noise += fmt.Sprintf(`<p><a href="%s">%s</a>`, u, u) + return + } + if name == "" { + name = u + } } else { ilog.Printf("unknown attachment: %s", at) }