summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/comment_form.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/diff/comment_form.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/diff/comment_form.tmpl')
-rw-r--r--templates/repo/diff/comment_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl
index deea6baffb..507e4828a7 100644
--- a/templates/repo/diff/comment_form.tmpl
+++ b/templates/repo/diff/comment_form.tmpl
@@ -2,7 +2,7 @@
<form class="ui form {{if $.hidden}}gt-hidden comment-form{{end}}" action="{{$.root.Issue.Link}}/files/reviews/comments" method="post">
{{$.root.CsrfTokenHtml}}
<input type="hidden" name="origin" value="{{if $.root.PageIsPullFiles}}diff{{else}}timeline{{end}}">
- <input type="hidden" name="latest_commit_id" value="{{$.root.AfterCommitID}}"/>
+ <input type="hidden" name="latest_commit_id" value="{{$.root.AfterCommitID}}">
<input type="hidden" name="side" value="{{if $.Side}}{{$.Side}}{{end}}">
<input type="hidden" name="line" value="{{if $.Line}}{{$.Line}}{{end}}">
<input type="hidden" name="path" value="{{if $.File}}{{$.File}}{{end}}">