don't leak <p> into summary, seen by eta

This commit is contained in:
Ted Unangst 2023-08-30 19:12:12 -04:00
parent 99aed03a36
commit b60e2e6156
3 changed files with 4 additions and 3 deletions

1
fun.go
View File

@ -330,6 +330,7 @@ func precipitate(honk *Honk) {
noise = noise[idx+1:]
}
var marker mz.Marker
marker.Short = true
honk.Precis = marker.Mark(strings.TrimSpace(honk.Precis))
honk.Noise = noise
}

2
go.mod
View File

@ -9,7 +9,7 @@ require (
golang.org/x/crypto v0.12.0
golang.org/x/net v0.14.0
humungus.tedunangst.com/r/go-sqlite3 v1.1.3
humungus.tedunangst.com/r/webs v0.7.7
humungus.tedunangst.com/r/webs v0.7.9
)
require (

4
go.sum
View File

@ -48,5 +48,5 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
humungus.tedunangst.com/r/go-sqlite3 v1.1.3 h1:G2N4wzDS0NbuvrZtQJhh4F+3X+s7BF8b9ga8k38geUI=
humungus.tedunangst.com/r/go-sqlite3 v1.1.3/go.mod h1:FtEEmQM7U2Ey1TuEEOyY1BmphTZnmiEjPsNLEAkpf/M=
humungus.tedunangst.com/r/webs v0.7.7 h1:1IITkwf5T3Zv2mG0rzmORPVcXuP/YGoTPeh6uBpUkCo=
humungus.tedunangst.com/r/webs v0.7.7/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk=
humungus.tedunangst.com/r/webs v0.7.9 h1:LC9o2F9joAcf4SxWaRFs5ZqXHSbzdfre9/9BY0gcM0w=
humungus.tedunangst.com/r/webs v0.7.9/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk=