gitea/services/gitdiff
zeripath 6b7c199f5f
When creating line diffs do not split within an html entity ()
* When creating line diffs do not split within an html entity

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add test case

Signed-off-by: Andrew Thornton <art27@cantab.net>

* improve test

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
..
testdata/academic-module Fix panic when diff ()
gitdiff.go When creating line diffs do not split within an html entity ()
gitdiff_test.go When creating line diffs do not split within an html entity ()
main_test.go Move git diff codes from models to services/gitdiff ()