attachment summary field needs to be de-html on import
This commit is contained in:
parent
a22384b74d
commit
532185a560
|
@ -752,6 +752,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
}
|
}
|
||||||
name, _ := att.GetString("name")
|
name, _ := att.GetString("name")
|
||||||
desc, _ := att.GetString("summary")
|
desc, _ := att.GetString("summary")
|
||||||
|
desc = html.UnescapeString(desc)
|
||||||
if desc == "" {
|
if desc == "" {
|
||||||
desc = name
|
desc = name
|
||||||
}
|
}
|
||||||
|
@ -798,6 +799,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
tt, _ := tag.GetString("type")
|
tt, _ := tag.GetString("type")
|
||||||
name, _ := tag.GetString("name")
|
name, _ := tag.GetString("name")
|
||||||
desc, _ := tag.GetString("summary")
|
desc, _ := tag.GetString("summary")
|
||||||
|
desc = html.UnescapeString(desc)
|
||||||
if desc == "" {
|
if desc == "" {
|
||||||
desc = name
|
desc = name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue