aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrebeckanylander <rebecka.nylander@hotmail.com>2020-10-02 17:13:46 +0200
committerGitHub <noreply@github.com>2020-10-02 11:13:46 -0400
commit54091e074cfdedba71c8242994eed29ac70163c9 (patch)
tree95ccd5ef67b9eae1ebb3d600e4ac5193ea614ce9
parent7a34fc0ae8f3db460c8ca1fa4dba6ca6212caebd (diff)
downloadgitea-54091e074cfdedba71c8242994eed29ac70163c9.tar.gz
gitea-54091e074cfdedba71c8242994eed29ac70163c9.zip
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>
-rw-r--r--templates/repo/issue/view_content/comments.tmpl20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index 39b932f4bc..a730bd5e8b 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -492,17 +492,17 @@
<a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a>
{{end}}
{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}}
- <div class="text">
- <div class="render-content markdown">
- {{if .RenderedContent}}
- {{.RenderedContent|Str2html}}
- {{else}}
- <span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
- {{end}}
- </div>
- <div class="raw-content hide">{{.Content}}</div>
- </div>
</span>
+ <div class="text">
+ <div class="render-content markdown">
+ {{if .RenderedContent}}
+ {{.RenderedContent|Str2html}}
+ {{else}}
+ <span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
+ {{end}}
+ </div>
+ <div class="raw-content hide">{{.Content}}</div>
+ </div>
</div>
</div>
</div>