mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-23 22:19:49 +00:00
Sanitize user field name
This commit is contained in:
parent
e50f12b615
commit
cba88f94a2
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user