~ols/yeet

1f9b2cb87a858b1efc23c60d57af0f282deb3455 — Ted Unangst 3 years ago c074f7f
attachment summary field needs to be de-html on import
1 files changed, 2 insertions(+), 0 deletions(-)

M activity.go
M activity.go => activity.go +2 -0
@@ 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
				}