mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 08:43:34 +01:00
parent
ce8de35334
commit
13583a650f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user