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

2
fun.go
View File

@ -300,9 +300,9 @@ func precipitate(honk *Honk) {
honk.Precis = noise[:idx] honk.Precis = noise[:idx]
noise = noise[idx+1:] noise = noise[idx+1:]
} }
}
honk.Precis = markitzero(strings.TrimSpace(honk.Precis)) honk.Precis = markitzero(strings.TrimSpace(honk.Precis))
honk.Noise = noise honk.Noise = noise
}
} }
func translate(honk *Honk) { func translate(honk *Honk) {