all repos — honk @ bb2858566ad9131d76f9e0bc3048df3b72def8b6

my fork of honk

better presentation for readded invisible content
Ted Unangst tedu@tedunangst.com
Sun, 30 Jul 2023 20:39:31 -0400
commit

bb2858566ad9131d76f9e0bc3048df3b72def8b6

parent

e1b0d210e1ae7536028a70c92b2d69390cd27a60

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M fun.gofun.go

@@ -128,21 +128,21 @@ h.Open = "open"

var misto string for _, m := range h.Mentions { if m.Where != h.Honker && !m.IsPresent(h.Noise) { - misto += "(" + m.Who + ")" + misto += " " + m.Who } } var mistag string for _, o := range h.Onts { if !OntIsPresent(o, h.Noise) { - mistag += "(" + o + ")" + mistag += " " + o } } if len(misto) > 0 || len(mistag) > 0 { if len(misto) > 0 { - misto = misto + "<p>" + misto = "(" + misto[1:] + ")<p>" } if len(mistag) > 0 { - mistag = "<p>" + mistag + mistag = "<p>(" + mistag[1:] + ")" } h.Noise = misto + h.Noise + mistag }