mirror of
https://github.com/go-gitea/gitea
synced 2025-01-24 16:44:28 +00:00
Don't use SafeHTML
This commit is contained in:
parent
e49445b17d
commit
0e0527456e
@ -124,8 +124,8 @@
|
||||
{{ctx.Locale.TrN .Issue.NumComments "repo.issues.num_comments_1" "repo.issues.num_comments" .Issue.NumComments}}
|
||||
</span>
|
||||
{{if .MaybeFixed}}
|
||||
{{$fixedStr := printf `<a href="%s">#%d</a>` .MaybeFixed.Issue.Link .MaybeFixed.Index}}
|
||||
· <span>{{ctx.Locale.Tr "repo.issues.maybefixed" ($fixedStr|SafeHTML)}}</span>
|
||||
{{$fixedStr := HTMLFormat `<a href="%s">#%d</a>` .MaybeFixed.Issue.Link .MaybeFixed.Index}}
|
||||
· <span>{{ctx.Locale.Tr "repo.issues.maybefixed" $fixedStr}}</span>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user