add a little length filter
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 00:22:01 -0400
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
fun.go
→
fun.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 {