aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/issue/view_content.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r--templates/repo/issue/view_content.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 2b316eb2..943f0767 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -29,7 +29,7 @@
<div class="ui attached segment">
<div class="render-content markdown has-emoji">
{{if .Issue.RenderedContent}}
- {{.Issue.RenderedContent|Str2html}}
+ {{.Issue.RenderedContent|Str2HTML}}
{{else}}
<span class="no-content">{{.i18n.Tr "repo.issues.no_content"}}</span>
{{end}}
@@ -90,7 +90,7 @@
<div class="ui attached segment">
<div class="render-content markdown has-emoji">
{{if .RenderedContent}}
- {{.RenderedContent | Str2html}}
+ {{.RenderedContent | Str2HTML}}
{{else}}
<span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
{{end}}
@@ -140,7 +140,7 @@
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.DisplayName}}</a> {{$.i18n.Tr "repo.issues.commit_ref_at" .EventTag $createdStr | Safe}}</span>
<div class="detail">
<span class="octicon octicon-git-commit"></span>
- <span class="text grey">{{.Content | Str2html}}</span>
+ <span class="text grey">{{.Content | Str2HTML}}</span>
</div>
</div>
{{end}}