mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
remove : from emoji alt text
This commit is contained in:
parent
dd1a4cd892
commit
a8dfa262be
1 changed files with 2 additions and 2 deletions
|
@ -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