summary may not actually need a label

This commit is contained in:
Ted Unangst 2019-06-04 03:22:03 -04:00
parent 2a64e09f14
commit fb95988a64
1 changed files with 4 additions and 1 deletions

5
fun.go
View File

@ -55,7 +55,10 @@ func reverbolate(honks []*Honk) {
h.Noise = unpucker(h.Noise) h.Noise = unpucker(h.Noise)
precis := h.Precis precis := h.Precis
if precis != "" { if precis != "" {
precis = "<p>summary: " + precis + "<p>" if strings.IndexByte(precis, ':') == -1 {
precis = "summary: " + precis
}
precis = "<p>" + precis + "<p>"
} }
h.HTML, _ = filt.String(precis + h.Noise) h.HTML, _ = filt.String(precis + h.Noise)
emuxifier := func(e string) string { emuxifier := func(e string) string {