-
{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}}
+
{{EmojiFilter (HTML .Account.DisplayName) .Account.Emojis | Raw}}
- @{{.Account.Acct}}
+ @{{.Account.Acct}}
@@ -92,8 +92,8 @@
{{if (or .Content .SpoilerText)}}
- {{if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}
{{end}}
- {{StatusContentFilter .Content .Emojis .Mentions | Raw}}
+ {{- if .SpoilerText}}{{EmojiFilter (HTML .SpoilerText) .Emojis | Raw}}
{{end -}}
+ {{- StatusContentFilter .Content .Emojis .Mentions | Raw -}}
{{end}}
{{if .MediaAttachments}}
diff --git a/templates/user.tmpl b/templates/user.tmpl
index 3146964..3adc1a0 100644
--- a/templates/user.tmpl
+++ b/templates/user.tmpl
@@ -10,8 +10,8 @@
-
{{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}}
-
@{{.User.Acct}}
+
{{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}}
+
@{{.User.Acct}}
source
@@ -119,12 +119,12 @@
- {{EmojiFilter .User.Note .User.Emojis | Raw}}
+ {{- EmojiFilter .User.Note .User.Emojis | Raw -}}
{{if .User.Fields}}
{{range .User.Fields}}
-
{{EmojiFilter .Name $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw}}
+
{{- EmojiFilter .Name $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw -}}
{{end}}
{{end}}
diff --git a/templates/userlistitem.tmpl b/templates/userlistitem.tmpl
index 50b9d0c..ed53b2e 100644
--- a/templates/userlistitem.tmpl
+++ b/templates/userlistitem.tmpl
@@ -6,9 +6,9 @@