Skip to content

Commit 9053096

Browse files
author
Gusted
authored
Fix double blob-hunk (#19404)
- Don't show the blob-hunk twice.
1 parent b8911fb commit 9053096

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templates/repo/diff/section_unified.tmpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
{{if eq .GetType 4}}
3232
<td class="chroma lines-code blob-hunk">{{/*
3333
*/}}<code {{if $inlineDiff.EscapeStatus.Escaped}}class="code-inner has-escaped" title="{{$.root.i18n.Tr "repo.line_unicode"}}"{{else}}class="code-inner"{{end}}>{{$inlineDiff.Content}}</code>{{/*
34-
*/}}
35-
{{$line.Content}}
36-
</td>
34+
*/}}</td>
3735
{{else}}
3836
<td class="chroma lines-code{{if (not $line.RightIdx)}} lines-code-old{{end}}">{{/*
3937
*/}}{{if and $.root.SignedUserID $.root.PageIsPullFiles}}{{/*

0 commit comments

Comments
 (0)