all repos — honk @ 2637c77d42c478659691c14e2554ed2a6e930f1f

my fork of honk

add a little length filter
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 00:22:01 -0400
commit

2637c77d42c478659691c14e2554ed2a6e930f1f

parent

b60b88b850ecd6aa480df78600855bc79d634347

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M fun.gofun.go

@@ -85,6 +85,13 @@ } else if h.Precis == "unspecified horror" {

h.Precis = "" } } + if len(h.Noise) > 4000 && h.Open == "open" { + if h.Precis == "" { + h.Precis = "really freaking long" + } + h.Open = "" + } + h.HTPrecis, _ = filt.String(h.Precis) h.HTML, _ = filt.String(h.Noise) emuxifier := func(e string) string {