fix(templates): move list tags out of paragraphs

djlint 1.40.4 adds rule H025, which flags `<ul>` nested inside `<p>`.
Browsers already auto-close the `<p>` before the list, so this is a
no-op visually.

Assisted-by: Claude:Opus 4.8
This commit is contained in:
silverwind
2026-07-14 11:31:36 +02:00
parent df1cc849cb
commit 4d92eef3cf
2 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -63,6 +63,7 @@
<div>{{.RenderedContent}}</div> <div>{{.RenderedContent}}</div>
</div> </div>
{{end -}} {{end -}}
</p>
{{if eq .ActionName "push"}} {{if eq .ActionName "push"}}
<ul> <ul>
{{$repoURL := $.Comment.Issue.PullRequest.BaseRepo.HTMLURL}} {{$repoURL := $.Comment.Issue.PullRequest.BaseRepo.HTMLURL}}
@@ -75,7 +76,6 @@
{{end}} {{end}}
</ul> </ul>
{{end}} {{end}}
</p>
<div style="font-size:small; color:#666;"> <div style="font-size:small; color:#666;">
<p> <p>
--- ---
+1 -1
View File
@@ -29,6 +29,7 @@
--- ---
<br> <br>
{{.locale.Tr "mail.release.downloads"}} {{.locale.Tr "mail.release.downloads"}}
</p>
<ul> <ul>
{{if not .DisableDownloadSourceArchives}} {{if not .DisableDownloadSourceArchives}}
<li> <li>
@@ -48,7 +49,6 @@
{{end}} {{end}}
{{end}} {{end}}
</ul> </ul>
</p>
<div style="font-size:small; color:#666;"> <div style="font-size:small; color:#666;">
<p> <p>
--- ---