This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix syntax highlight in blame view
#6895
(
#6909
)
tags/v1.21.12.1
iliyan ivanov
Lauris BH
6 years ago
parent
ce8de35334
commit
13583a650f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
routers/repo/blame.go
+ 1
- 1
routers/repo/blame.go
View File
@@ -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 {
Write
Preview
Loading…
Cancel
Save