diff options
-rw-r--r-- | modules/convert/user.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/convert/user.go b/modules/convert/user.go index 164ffb71fd..3f17ae4b4d 100644 --- a/modules/convert/user.go +++ b/modules/convert/user.go @@ -6,7 +6,6 @@ package convert import ( "code.gitea.io/gitea/models" - "code.gitea.io/gitea/modules/markup" api "code.gitea.io/gitea/modules/structs" ) @@ -49,7 +48,7 @@ func toUser(user *models.User, signed, authed bool) *api.User { result := &api.User{ ID: user.ID, UserName: user.Name, - FullName: markup.Sanitize(user.FullName), + FullName: user.FullName, Email: user.GetEmail(), AvatarURL: user.AvatarLink(), Created: user.CreatedUnix.AsTime(), |