]> source.dussan.org Git - gitea.git/commit
Fix escaping issue in diff (#14154)
authorzeripath <art27@cantab.net>
Sat, 26 Dec 2020 22:15:42 +0000 (22:15 +0000)
committerGitHub <noreply@github.com>
Sat, 26 Dec 2020 22:15:42 +0000 (22:15 +0000)
commit206b66a18467690b973bb159c3054dab3e96598a
treefc85ac32bfe981192fe411afda03cb506c86d483
parent205be63bc17242973187f042d94d815107b4bab8
Fix escaping issue in diff (#14154)

Ensure that linecontent is escaped before passing to template.HTML

Signed-off-by: Andrew Thornton <art27@cantab.net>
services/gitdiff/gitdiff.go