summaryrefslogtreecommitdiffstats
path: root/templates/repo/graph
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/graph
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/graph')
-rw-r--r--templates/repo/graph/svgcontainer.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/graph/svgcontainer.tmpl b/templates/repo/graph/svgcontainer.tmpl
index 6e6046cecc..12c2cb4eb9 100644
--- a/templates/repo/graph/svgcontainer.tmpl
+++ b/templates/repo/graph/svgcontainer.tmpl
@@ -14,9 +14,9 @@
{{- else if eq $glyph.Glyph '_' -}}
M {{Add (Mul $glyph.Column 5) 0}} {{Add (Mul $glyph.Row 12) 12}} h 10 {{/* */ -}}
{{- end -}}
- {{- end}}" stroke-width="1" fill="none" id="flow-{{$flow.ID}}-path" stroke-linecap="round"/>
+ {{- end}}" stroke-width="1" fill="none" id="flow-{{$flow.ID}}-path" stroke-linecap="round">
{{range $flow.Commits}}
- <circle class="flow-commit" cx="{{Add (Mul .Column 5) 5}}" cy="{{Add (Mul .Row 12) 6}}" r="2.5" stroke="none" id="flow-commit-{{.Rev}}" data-rev="{{.Rev}}"/>
+ <circle class="flow-commit" cx="{{Add (Mul .Column 5) 5}}" cy="{{Add (Mul .Row 12) 6}}" r="2.5" stroke="none" id="flow-commit-{{.Rev}}" data-rev="{{.Rev}}">
{{end}}
</g>
{{end}}