name property is plaintext

This commit is contained in:
Ted Unangst 2020-01-12 11:26:52 -05:00
parent d20029be7a
commit 91346fa369
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
if precis != "" { if precis != "" {
content = precis + "<p>" + content content = precis + "<p>" + content
} }
precis = name precis = html.EscapeString(name)
} }
if sens, _ := obj["sensitive"].(bool); sens && precis == "" { if sens, _ := obj["sensitive"].(bool); sens && precis == "" {
precis = "unspecified horror" precis = "unspecified horror"