mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-24 13:58:57 +08:00
fix possible XSS in view issue page
This commit is contained in:
@ -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}}
|
||||||
|
Reference in New Issue
Block a user