From 55ece74faa7789776f8d4342386fb669d1584563 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 23 Feb 2023 18:32:24 -0500 Subject: [PATCH] only markdown precis if we found a new one --- fun.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fun.go b/fun.go index 99b2b37..b5b9148 100644 --- a/fun.go +++ b/fun.go @@ -300,9 +300,9 @@ func precipitate(honk *Honk) { honk.Precis = noise[:idx] noise = noise[idx+1:] } + honk.Precis = markitzero(strings.TrimSpace(honk.Precis)) + honk.Noise = noise } - honk.Precis = markitzero(strings.TrimSpace(honk.Precis)) - honk.Noise = noise } func translate(honk *Honk) {