diff --git a/components/user.templ b/components/user.templ index 3b2c9cb..6e7ae3e 100644 --- a/components/user.templ +++ b/components/user.templ @@ -9,7 +9,7 @@ import ( "github.com/logto-io/go/core" ) -var GravatarTemplate = template.Must(template.New("gravatar").Parse("
")) +var GravatarTemplate = template.Must(template.New("gravatar").Parse("")) func GetGravatarURL(email string, size uint) string { email = strings.TrimSpace(strings.ToLower(email)) @@ -19,39 +19,13 @@ func GetGravatarURL(email string, size uint) string { } templ User(claims *core.IdTokenClaims) { -