From bf9e65d69987dfe38d168d38af056836f8153106 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 9 Mar 2023 00:51:33 -0500 Subject: [PATCH] simplify image descriptions so that lesser implementations can find them --- activity.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/activity.go b/activity.go index 7e427c0..aefb17f 100644 --- a/activity.go +++ b/activity.go @@ -1142,8 +1142,13 @@ func activatedonks(donks []*Donk) []junk.Junk { } jd := junk.New() jd["mediaType"] = d.Media - jd["name"] = d.Name - jd["summary"] = html.EscapeString(d.Desc) + if false { + // nobody does this right + jd["name"] = d.Name + jd["summary"] = html.EscapeString(d.Desc) + } else { + jd["name"] = d.Desc + } jd["type"] = "Document" jd["url"] = d.URL atts = append(atts, jd)