markdown and emus in subject. naturally.
This commit is contained in:
parent
a06cd066c9
commit
5604522c54
2
fun.go
2
fun.go
|
@ -201,7 +201,7 @@ func translate(honk *Honk, redoimages bool) {
|
||||||
noise = noise[idx+1:]
|
noise = noise[idx+1:]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
honk.Precis = strings.TrimSpace(honk.Precis)
|
honk.Precis = markitzero(strings.TrimSpace(honk.Precis))
|
||||||
|
|
||||||
noise = strings.TrimSpace(noise)
|
noise = strings.TrimSpace(noise)
|
||||||
noise = quickrename(noise, honk.UserID)
|
noise = quickrename(noise, honk.UserID)
|
||||||
|
|
5
web.go
5
web.go
|
@ -1150,9 +1150,6 @@ func edithonkpage(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
noise := honk.Noise
|
noise := honk.Noise
|
||||||
if honk.Precis != "" {
|
|
||||||
noise = honk.Precis + "\n\n" + noise
|
|
||||||
}
|
|
||||||
|
|
||||||
honks := []*Honk{honk}
|
honks := []*Honk{honk}
|
||||||
donksforhonks(honks)
|
donksforhonks(honks)
|
||||||
|
@ -1360,7 +1357,7 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
|
||||||
log.Printf("can't find file: %s", xid)
|
log.Printf("can't find file: %s", xid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
herd := herdofemus(honk.Noise)
|
herd := herdofemus(noise)
|
||||||
for _, e := range herd {
|
for _, e := range herd {
|
||||||
donk := savedonk(e.ID, e.Name, e.Name, "image/png", true)
|
donk := savedonk(e.ID, e.Name, e.Name, "image/png", true)
|
||||||
if donk != nil {
|
if donk != nil {
|
||||||
|
|
Loading…
Reference in New Issue