simplify image descriptions so that lesser implementations can find them
This commit is contained in:
parent
7f8d2068fd
commit
bf9e65d699
|
@ -1142,8 +1142,13 @@ func activatedonks(donks []*Donk) []junk.Junk {
|
||||||
}
|
}
|
||||||
jd := junk.New()
|
jd := junk.New()
|
||||||
jd["mediaType"] = d.Media
|
jd["mediaType"] = d.Media
|
||||||
jd["name"] = d.Name
|
if false {
|
||||||
jd["summary"] = html.EscapeString(d.Desc)
|
// nobody does this right
|
||||||
|
jd["name"] = d.Name
|
||||||
|
jd["summary"] = html.EscapeString(d.Desc)
|
||||||
|
} else {
|
||||||
|
jd["name"] = d.Desc
|
||||||
|
}
|
||||||
jd["type"] = "Document"
|
jd["type"] = "Document"
|
||||||
jd["url"] = d.URL
|
jd["url"] = d.URL
|
||||||
atts = append(atts, jd)
|
atts = append(atts, jd)
|
||||||
|
|
Loading…
Reference in New Issue