only markdown precis if we found a new one

This commit is contained in:
Ted Unangst 2023-02-23 18:32:24 -05:00
parent 5eb2821d10
commit 55ece74faa
1 changed files with 2 additions and 2 deletions

4
fun.go
View File

@ -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) {