From 7f226a6ab14bdeead33a6e988035c3319987cba0 Mon Sep 17 00:00:00 2001 From: kaz-on <58929100+kaz-on@users.noreply.github.com> Date: Thu, 25 Mar 2021 07:45:35 +0900 Subject: [PATCH] Fixed file names passed to syntax highlighter in diff view (#2716) --- src/main/twirl/gitbucket/core/helper/diff.scala.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/twirl/gitbucket/core/helper/diff.scala.html b/src/main/twirl/gitbucket/core/helper/diff.scala.html index 3869d63d8..92999c99c 100644 --- a/src/main/twirl/gitbucket/core/helper/diff.scala.html +++ b/src/main/twirl/gitbucket/core/helper/diff.scala.html @@ -109,8 +109,8 @@ } else { @if(diff.newContent != None || diff.oldContent != None){
- - + + } else { @if(diff.newIsImage || diff.oldIsImage){