remove : from emoji alt text

This commit is contained in:
f0x 2022-12-08 16:24:38 +00:00
parent dd1a4cd892
commit a8dfa262be

View file

@ -57,9 +57,9 @@ func(shortcode string, buf *bytes.Buffer) string {
buf.WriteString(safeURL)
buf.WriteString(`" title=":`)
buf.WriteString(safeCode)
buf.WriteString(`:" alt=":`)
buf.WriteString(`:" alt="`)
buf.WriteString(safeCode)
buf.WriteString(`:" class="emoji"/>`)
buf.WriteString(`" class="emoji"/>`)
return buf.String()
},