only inline emus we actually have
This commit is contained in:
parent
6051a54796
commit
29da0f3cdf
1 changed files with 3 additions and 1 deletions
2
fun.go
2
fun.go
|
|
@ -76,9 +76,11 @@ func reverbolate(honks []*Honk) {
|
|||
for _, d := range h.Donks {
|
||||
if d.Name == e {
|
||||
zap[d] = true
|
||||
if d.Local {
|
||||
return fmt.Sprintf(`<img class="emu" title="%s" src="/d/%s">`, d.Name, d.XID)
|
||||
}
|
||||
}
|
||||
}
|
||||
return e
|
||||
}
|
||||
h.HTML = template.HTML(re_emus.ReplaceAllStringFunc(string(h.HTML), emuxifier))
|
||||
|
|
|
|||
Loading…
Reference in a new issue