diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/blame.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/blame.go b/routers/repo/blame.go index 69becc50d4..812c55ea4d 100644 --- a/routers/repo/blame.go +++ b/routers/repo/blame.go @@ -237,6 +237,7 @@ func renderBlame(ctx *context.Context, blameParts []git.BlamePart, commitNames m } fileName := fmt.Sprintf("%v", ctx.Data["FileName"]) line = highlight.Code(fileName, line) + line = `<code class="code-inner">` + line + `</code>` if len(part.Lines)-1 == index && len(blameParts)-1 != pi { codeLines.WriteString(fmt.Sprintf(`<li class="L%d bottom-line" rel="L%d">%s</li>`, i, i, line)) } else { |