mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div class="panel panel-info panel-radius diff-head-box">
|
||||
<div class="panel-header">
|
||||
<a class="pull-right btn btn-blue btn-header btn-medium btn-radius" rel="nofollow" href="{{.SourcePath}}">{{.i18n.Tr "repo.diff.browse_source"}}</a>
|
||||
<h4 class="commit-message">{{Str2html .Commit.Message}}</h4>
|
||||
<h4 class="commit-message">{{RenderCommitMessage .Commit.Message $.RepoLink}}</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<span class="pull-right">
|
||||
|
Reference in New Issue
Block a user