Skip to content

Commit

Permalink
Merge branch 'main' into fix-contextpopup-error
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored Oct 22, 2021
2 parents f452c34 + af96286 commit 6e582a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/convert/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit 6e582a4

Please sign in to comment.