diff options
author | silverwind <me@silverwind.io> | 2024-03-08 22:02:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 22:02:05 +0100 |
commit | 82e102f8b09faf1ac2786ccad36d4a20fcb392b8 (patch) | |
tree | 34bf3845d05cd52bebaa16a7254bbf9f4301c169 /services/auth | |
parent | 0c273f12e0b5d6dc2b80e2e6b51b2deaf15608b1 (diff) | |
download | gitea-82e102f8b09faf1ac2786ccad36d4a20fcb392b8.tar.gz gitea-82e102f8b09faf1ac2786ccad36d4a20fcb392b8.zip |
Replace more gt- with tw- (#29678)
This will conclude the trivial class replacements.
Diffstat (limited to 'services/auth')
-rw-r--r-- | services/auth/source/oauth2/providers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/auth/source/oauth2/providers.go b/services/auth/source/oauth2/providers.go index ac32647839..c3edae4ab6 100644 --- a/services/auth/source/oauth2/providers.go +++ b/services/auth/source/oauth2/providers.go @@ -59,7 +59,7 @@ func (p *AuthSourceProvider) DisplayName() string { func (p *AuthSourceProvider) IconHTML(size int) template.HTML { if p.iconURL != "" { - img := fmt.Sprintf(`<img class="gt-object-contain gt-mr-3" width="%d" height="%d" src="%s" alt="%s">`, + img := fmt.Sprintf(`<img class="tw-object-contain gt-mr-3" width="%d" height="%d" src="%s" alt="%s">`, size, size, html.EscapeString(p.iconURL), html.EscapeString(p.DisplayName()), |