Skip to content

Commit 6e582a4

Browse files
authored
Merge branch 'main' into fix-contextpopup-error
2 parents f452c34 + af96286 commit 6e582a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/convert/user.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package convert
66

77
import (
88
"code.gitea.io/gitea/models"
9-
"code.gitea.io/gitea/modules/markup"
109
api "code.gitea.io/gitea/modules/structs"
1110
)
1211

@@ -49,7 +48,7 @@ func toUser(user *models.User, signed, authed bool) *api.User {
4948
result := &api.User{
5049
ID: user.ID,
5150
UserName: user.Name,
52-
FullName: markup.Sanitize(user.FullName),
51+
FullName: user.FullName,
5352
Email: user.GetEmail(),
5453
AvatarURL: user.AvatarLink(),
5554
Created: user.CreatedUnix.AsTime(),

0 commit comments

Comments
 (0)