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")
|
||||
desc, _ := att.GetString("summary")
|
||||
desc = html.UnescapeString(desc)
|
||||
if desc == "" {
|
||||
desc = name
|
||||
}
|
||||
|
@ -798,6 +799,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
tt, _ := tag.GetString("type")
|
||||
name, _ := tag.GetString("name")
|
||||
desc, _ := tag.GetString("summary")
|
||||
desc = html.UnescapeString(desc)
|
||||
if desc == "" {
|
||||
desc = name
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue