From: Gusted Date: Fri, 15 Apr 2022 03:27:04 +0000 (+0000) Subject: Fix double blob-hunk on diff page (#19404) (#19405) X-Git-Tag: v1.16.6~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=00da1facc4e6e8f40500c74bc502ecf4496789d0;p=gitea.git Fix double blob-hunk on diff page (#19404) (#19405) - Don't show the blob-hunk twice on diff page - Backport #19404 --- diff --git a/templates/repo/diff/section_unified.tmpl b/templates/repo/diff/section_unified.tmpl index dbd0ca269f..4aac948367 100644 --- a/templates/repo/diff/section_unified.tmpl +++ b/templates/repo/diff/section_unified.tmpl @@ -32,7 +32,6 @@ {{/* */}}{{$inlineDiff.Content}}{{/* */}} - {{$line.Content}} {{else}} {{/*