diff --git a/activity.go b/activity.go index 1943b3b..6e976e4 100644 --- a/activity.go +++ b/activity.go @@ -656,17 +656,17 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { dt = dt2 } xid, _ = obj.GetString("id") - precis, _ = obj.GetString("summary") - if name, ok := obj.GetString("name"); ok { - if precis != "" { - precis = "\n" + precis - } - precis = name + precis - } content, _ = obj.GetString("content") if !strings.HasPrefix(content, "

") { content = "

" + content } + precis, _ = obj.GetString("summary") + if name, ok := obj.GetString("name"); ok { + if precis != "" { + content = precis + "

" + content + } + precis = name + } if sens, _ := obj["sensitive"].(bool); sens && precis == "" { precis = "unspecified horror" }