aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/sidebar.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-03-28 00:05:51 +0800
committerGitHub <noreply@github.com>2023-03-27 18:05:51 +0200
commit31ab331b233d09568d47ffa25ea5516282d8e71b (patch)
treeb973b2cbb4864676242415d89851468f577a8662 /templates/repo/issue/view_content/sidebar.tmpl
parentec261b63e14f84da3e2d9a6e27c8b831a7750677 (diff)
downloadgitea-31ab331b233d09568d47ffa25ea5516282d8e71b.tar.gz
gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.zip
Remove incorrect HTML self close tag (#23748)
HTML is not XML.
Diffstat (limited to 'templates/repo/issue/view_content/sidebar.tmpl')
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl
index 37a565cbc8..0deb0a1891 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -294,7 +294,7 @@
<span class="text"><strong>{{.locale.Tr "notification.notifications"}}</strong></span>
<div class="gt-mt-3">
<form method="POST" action="{{.Issue.Link}}/watch">
- <input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}" />
+ <input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}">
{{$.CsrfTokenHtml}}
<button class="fluid ui button gt-df gt-jc">
{{if $.IssueWatch.IsWatching}}
@@ -517,8 +517,8 @@
<div class="content">
<form method="POST" action="{{.Issue.Link}}/dependency/delete" id="removeDependencyForm">
{{$.CsrfTokenHtml}}
- <input type="hidden" value="" name="removeDependencyID" id="removeDependencyID"/>
- <input type="hidden" value="" name="dependencyType" id="dependencyType"/>
+ <input type="hidden" value="" name="removeDependencyID" id="removeDependencyID">
+ <input type="hidden" value="" name="dependencyType" id="dependencyType">
</form>
<p>{{if .Issue.IsPull}}
{{.locale.Tr "repo.issues.dependency.pr_remove_text"}}