0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 10:05:10 +01:00
gitea/services/gitdiff
mrsdizzie 0171dda728
Improved diff syntax highlighting fix (#12455)
Make previous fix from #12238 more robust since I saw a case where a diff changes only a single character in a chroma class instead of the entire thing. Add another more complicated test to match.

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-08-08 11:17:02 +01:00
..
testdata/academic-module Fix panic when diff (#9187) 2019-11-28 17:05:57 +08:00
gitdiff_test.go Improved diff syntax highlighting fix (#12455) 2020-08-08 11:17:02 +01:00
gitdiff.go Improved diff syntax highlighting fix (#12455) 2020-08-08 11:17:02 +01:00
main_test.go