You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
4 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
gitdiff.go Add better error checking for inline html diff code (#13239) 4 years ago
gitdiff_test.go Add better error checking for inline html diff code (#13239) 4 years ago
main_test.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago