summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-08-22 14:36:56 +0200
committerGitHub <noreply@github.com>2020-08-22 13:36:56 +0100
commitee5e5a50934906df476c3b898c2fe8e0df984f3c (patch)
treea4f3a6c30e862ca77bb509d122cdfc04912e258a /vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go
parent03ba12aabf95ced8398c7859deff76780a4577cd (diff)
downloadgitea-ee5e5a50934906df476c3b898c2fe8e0df984f3c.tar.gz
gitea-ee5e5a50934906df476c3b898c2fe8e0df984f3c.zip
Improve HTML escaping helper (#12562)
The previous method did not escape single quotes which under some circumstances can lead to XSS vulnerabilites and the fact that it depends on jQuery is also not ideal. Replace it with a lightweight module.
Diffstat (limited to 'vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go')
0 files changed, 0 insertions, 0 deletions