Sanitize user field name

This commit is contained in:
romin 2023-09-22 12:02:35 +02:00 committed by r
parent e50f12b615
commit cba88f94a2
1 changed files with 1 additions and 1 deletions

View File

@ -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}}