remove : from emoji alt text
This commit is contained in:
parent
dd1a4cd892
commit
a8dfa262be
|
@ -57,9 +57,9 @@ func Emojify(emojis []model.Emoji, inputText string) 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()
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue