mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-05 01:52:46 +00:00
remove : from emoji alt text
This commit is contained in:
parent
dd1a4cd892
commit
a8dfa262be
|
@ -57,9 +57,9 @@ func(shortcode string, buf *bytes.Buffer) string {
|
||||||
buf.WriteString(safeURL)
|
buf.WriteString(safeURL)
|
||||||
buf.WriteString(`" title=":`)
|
buf.WriteString(`" title=":`)
|
||||||
buf.WriteString(safeCode)
|
buf.WriteString(safeCode)
|
||||||
buf.WriteString(`:" alt=":`)
|
buf.WriteString(`:" alt="`)
|
||||||
buf.WriteString(safeCode)
|
buf.WriteString(safeCode)
|
||||||
buf.WriteString(`:" class="emoji"/>`)
|
buf.WriteString(`" class="emoji"/>`)
|
||||||
|
|
||||||
return buf.String()
|
return buf.String()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue