mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-20 18:56:16 +03:00
@ -236,7 +236,7 @@ func renderBlame(ctx *context.Context, blameParts []models.BlamePart, commitName
|
||||
|
||||
//Code line
|
||||
line = gotemplate.HTMLEscapeString(line)
|
||||
if i != len(lines) {
|
||||
if i != len(lines)-1 {
|
||||
line += "\n"
|
||||
}
|
||||
if len(part.Lines)-1 == index && len(blameParts)-1 != pi {
|
||||
|
Reference in New Issue
Block a user