0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 06:34:58 +01:00
gitea/services/gitdiff
mrsdizzie f6ee7ce9b6
Add better error checking for inline html diff code (#13239)
* Add better error checking for inline html diff code

A better fix for #13191 which cleans up this code a bit and adds basic checking which should avoid writing broken HTML in future situations.

* Update gitdiff_test.go

* better regex

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-10-21 18:14:44 -04:00
..
testdata/academic-module
gitdiff_test.go Add better error checking for inline html diff code (#13239) 2020-10-21 18:14:44 -04:00
gitdiff.go Add better error checking for inline html diff code (#13239) 2020-10-21 18:14:44 -04:00
main_test.go