Skip to content

Commit 54091e0

Browse files
rebeckanylanderzeripathlunnytechknowlogick
authored
Fix comment header span. (#13009)
Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
1 parent 7a34fc0 commit 54091e0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

templates/repo/issue/view_content/comments.tmpl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -492,17 +492,17 @@
492492
<a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a>
493493
{{end}}
494494
{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}}
495-
<div class="text">
496-
<div class="render-content markdown">
497-
{{if .RenderedContent}}
498-
{{.RenderedContent|Str2html}}
499-
{{else}}
500-
<span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
501-
{{end}}
502-
</div>
503-
<div class="raw-content hide">{{.Content}}</div>
504-
</div>
505495
</span>
496+
<div class="text">
497+
<div class="render-content markdown">
498+
{{if .RenderedContent}}
499+
{{.RenderedContent|Str2html}}
500+
{{else}}
501+
<span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
502+
{{end}}
503+
</div>
504+
<div class="raw-content hide">{{.Content}}</div>
505+
</div>
506506
</div>
507507
</div>
508508
</div>

0 commit comments

Comments
 (0)