aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
committerr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
commit1d61f1aa27376e778b7a517fdd5739a8c1976d2e (patch)
treeb4dba8253afbb159a3782d900ad8d43bd6148b24 /renderer
parentf4881e72675e87a9eae716436c3ac18a788d596d (diff)
downloadbloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.tar.gz
bloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.zip
Update the default theme
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
Diffstat (limited to 'renderer')
-rw-r--r--renderer/renderer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/renderer/renderer.go b/renderer/renderer.go
index c93a611..a88bb9e 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -43,7 +43,7 @@ type TemplateData struct {
}
func emojiHTML(e mastodon.Emoji, height string) string {
- return `<img class="emoji" src="` + e.URL + `" alt=":` + e.ShortCode + `:" title=":` + e.ShortCode + `:" height="` + height + `"/>`
+ return `<img class="emoji" src="` + e.URL + `" alt=":` + e.ShortCode + `:" title=":` + e.ShortCode + `:" height="` + height + `">`
}
func emojiFilter(content string, emojis []mastodon.Emoji) string {