Browse Source

diff: remove misaligned space

ᴜɴᴋɴᴡᴏɴ 5 years ago
parent
commit
bebaf4c112
2 changed files with 13 additions and 14 deletions
  1. 13 13
      internal/assets/templates/templates_gen.go
  2. 0 1
      internal/gitutil/diff.go

File diff suppressed because it is too large
+ 13 - 13
internal/assets/templates/templates_gen.go


+ 0 - 1
internal/gitutil/diff.go

@@ -84,7 +84,6 @@ func diffsToHTML(diffs []diffmatchpatch.Diff, lineType git.DiffLineType) templat
 	case git.DiffLineDelete:
 	case git.DiffLineDelete:
 		buf.WriteByte('-')
 		buf.WriteByte('-')
 	}
 	}
-	buf.WriteByte(' ')
 
 
 	const (
 	const (
 		addedCodePrefix   = `<span class="added-code">`
 		addedCodePrefix   = `<span class="added-code">`