better handling of Link attachment types
Ted Unangst tedu@tedunangst.com
Sat, 10 Jun 2023 23:33:27 -0400
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.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) }