diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-28 00:05:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 18:05:51 +0200 |
commit | 31ab331b233d09568d47ffa25ea5516282d8e71b (patch) | |
tree | b973b2cbb4864676242415d89851468f577a8662 /templates/mail | |
parent | ec261b63e14f84da3e2d9a6e27c8b831a7750677 (diff) | |
download | gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.tar.gz gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.zip |
Remove incorrect HTML self close tag (#23748)
HTML is not XML.
Diffstat (limited to 'templates/mail')
-rw-r--r-- | templates/mail/auth/activate.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/auth/activate_email.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/auth/register_notify.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/auth/reset_passwd.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/issue/assigned.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/issue/default.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/notify/collaborator.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/notify/repo_transfer.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/release.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/team_invite.tmpl | 4 |
10 files changed, 15 insertions, 15 deletions
diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl index 75a0b8564a..a15afe3d49 100644 --- a/templates/mail/auth/activate.tmpl +++ b/templates/mail/auth/activate.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> <title>{{.locale.Tr "mail.activate_account.title" (.DisplayName|DotEscape)}}</title> </head> diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl index 0a24dc19c8..b15cc2a68a 100644 --- a/templates/mail/auth/activate_email.tmpl +++ b/templates/mail/auth/activate_email.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta Name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta Name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> <title>{{.locale.Tr "mail.activate_email.title" (.DisplayName|DotEscape)}}</title> </head> diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl index 673e84c5c7..3cdb456fb3 100644 --- a/templates/mail/auth/register_notify.tmpl +++ b/templates/mail/auth/register_notify.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> <title>{{.locale.Tr "mail.register_notify.title" (.DisplayName|DotEscape) AppName}}</title> </head> diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl index 6a3625ab78..172844c954 100644 --- a/templates/mail/auth/reset_passwd.tmpl +++ b/templates/mail/auth/reset_passwd.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> <title>{{.locale.Tr "mail.reset_password.title" (.DisplayName|DotEscape)}}</title> </head> diff --git a/templates/mail/issue/assigned.tmpl b/templates/mail/issue/assigned.tmpl index 05bed69022..d02ea39918 100644 --- a/templates/mail/issue/assigned.tmpl +++ b/templates/mail/issue/assigned.tmpl @@ -4,7 +4,7 @@ <style> .footer { font-size:small; color:#666;} </style> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{.Subject}}</title> </head> diff --git a/templates/mail/issue/default.tmpl b/templates/mail/issue/default.tmpl index 64dbb3df68..422a4f0461 100644 --- a/templates/mail/issue/default.tmpl +++ b/templates/mail/issue/default.tmpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{.Subject}}</title> <style> diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl index fcae84733e..9810c70984 100644 --- a/templates/mail/notify/collaborator.tmpl +++ b/templates/mail/notify/collaborator.tmpl @@ -4,7 +4,7 @@ <style> .footer { font-size:small; color:#666;} </style> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{.Subject}}</title> </head> diff --git a/templates/mail/notify/repo_transfer.tmpl b/templates/mail/notify/repo_transfer.tmpl index 85ed96f3f7..586f83e652 100644 --- a/templates/mail/notify/repo_transfer.tmpl +++ b/templates/mail/notify/repo_transfer.tmpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{.Subject}}</title> </head> diff --git a/templates/mail/release.tmpl b/templates/mail/release.tmpl index b2acdce8b2..f588d8224f 100644 --- a/templates/mail/release.tmpl +++ b/templates/mail/release.tmpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{.Subject}}</title> <style> diff --git a/templates/mail/team_invite.tmpl b/templates/mail/team_invite.tmpl index 163c950e94..8357895265 100644 --- a/templates/mail/team_invite.tmpl +++ b/templates/mail/team_invite.tmpl @@ -1,8 +1,8 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"> </head> {{$invite_url := printf "%sorg/invite/%s" AppUrl (QueryEscape .Invite.Token)}} <body> |