diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 4f6c70a32..96fdc28b4 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -93,18 +93,25 @@ {{range $j, $section := $file.Sections}} {{range $k, $line := $section.Lines}}
{{if $line.LeftIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}
- {{if $line.RightIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}
- {{$section.GetComputedInlineDiffFor $line}}
+ {{if $line.LeftIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}
+ {{if $line.RightIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}
+ {{$section.GetComputedInlineDiffFor $line}}