diff options
author | romin <romin@shitposter.club> | 2023-09-22 12:02:35 +0200 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2023-09-22 15:56:26 +0000 |
commit | cba88f94a24ad8b0c04d8fcbf2500d45156ce20f (patch) | |
tree | 4d228ff6753ff6f55ebc35e4c46e8beae09e84f6 | |
parent | e50f12b6158ffae6b0b59f2902798ae86d263b5d (diff) | |
download | bloat-cba88f94a24ad8b0c04d8fcbf2500d45156ce20f.tar.gz bloat-cba88f94a24ad8b0c04d8fcbf2500d45156ce20f.zip |
Sanitize user field name
-rw-r--r-- | templates/user.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl index 3adc1a0..3b1a5cd 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -124,7 +124,7 @@ {{if .User.Fields}} <div class="user-fields"> {{range .User.Fields}} - <div>{{- EmojiFilter .Name $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw -}}</div> + <div>{{- EmojiFilter (HTML .Name) $.Data.User.Emojis | Raw}} - {{EmojiFilter .Value $.Data.User.Emojis | Raw -}}</div> {{end}} </div> {{end}} |