mirror of
1
Fork 0

remove : from emoji alt text

This commit is contained in:
f0x 2022-12-08 16:24:38 +00:00
parent dd1a4cd892
commit a8dfa262be
1 changed files with 2 additions and 2 deletions

View File

@ -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()
},