fix possible XSS in view issue page

tokarchuk/v1.17
Unknwon 9 years ago
parent 373731f5e8
commit 923873db85
  1. 2
      templates/repo/issue/view_content.tmpl

@ -124,7 +124,7 @@
<div class="detail"> <div class="detail">
<span class="octicon octicon-git-commit"></span> <span class="octicon octicon-git-commit"></span>
<span class="text grey">{{.Content | Safe}}</span> <span class="text grey">{{.Content | Str2html}}</span>
</div> </div>
</div> </div>
{{end}} {{end}}

Loading…
Cancel
Save