better handling of Link attachment types

This commit is contained in:
Ted Unangst 2023-06-10 23:33:27 -04:00
parent d63e338089
commit d622d8781a
1 changed files with 8 additions and 0 deletions

View File

@ -882,6 +882,14 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
localize = true 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 { } else {
ilog.Printf("unknown attachment: %s", at) ilog.Printf("unknown attachment: %s", at)
} }