all repos — honk @ b3897d2f89702d2bb97cc2d33d3ba2a803ed50d1

my fork of honk

simplify image descriptions so that lesser implementations can find them
Ted Unangst tedu@tedunangst.com
Thu, 09 Mar 2023 00:51:33 -0500
commit

b3897d2f89702d2bb97cc2d33d3ba2a803ed50d1

parent

bbc866ba103f3bef350ac324e7c90f4da7b6af6f

1 files changed, 7 insertions(+), 2 deletions(-)

jump to
M activity.goactivity.go

@@ -1142,8 +1142,13 @@ continue

} 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)