aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/comments.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/view_content/comments.tmpl')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index 635ad50e44..3859f496ec 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -404,8 +404,12 @@
</span>
</div>
<div class="ui attached segment">
- <div class="detail">
- <span class="text black has-emoji">{{.Content}}</span>
+ <div class="render-content markdown has-emoji">
+ {{if .RenderedContent}}
+ {{.RenderedContent|Str2html}}
+ {{else}}
+ <span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
+ {{end}}
</div>
</div>
</div>