Skip to content

Commit 00da1fa

Browse files
author
Gusted
authored
Fix double blob-hunk on diff page (go-gitea#19404) (go-gitea#19405)
- Don't show the blob-hunk twice on diff page - Backport go-gitea#19404
1 parent b461993 commit 00da1fa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

templates/repo/diff/section_unified.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
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>{{/*
3434
*/}}
35-
{{$line.Content}}
3635
</td>
3736
{{else}}
3837
<td class="chroma lines-code{{if (not $line.RightIdx)}} lines-code-old{{end}}">{{/*

0 commit comments

Comments
 (0)