]> source.dussan.org Git - gitea.git/commit
Split sanitizer functions and fine-tune some tests (#31192) (#31200)
authorGiteabot <teabot@gitea.io>
Fri, 31 May 2024 13:54:14 +0000 (21:54 +0800)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 13:54:14 +0000 (13:54 +0000)
commitb6280f4d21309cfae7cc07f74173354c664d5e10
treef9ff58e9d23f589ebb533c507b4ebc30c399d3b1
parent1987c86f3ce8335a3c1f4754b37872c3ca137b3d
Split sanitizer functions and fine-tune some tests (#31192) (#31200)

Backport #31192 by wxiaoguang

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
modules/markup/html_test.go
modules/markup/renderer.go
modules/markup/sanitizer.go
modules/markup/sanitizer_custom.go [new file with mode: 0644]
modules/markup/sanitizer_default.go [new file with mode: 0644]
modules/markup/sanitizer_default_test.go [new file with mode: 0644]
modules/markup/sanitizer_description.go [new file with mode: 0644]
modules/markup/sanitizer_description_test.go [new file with mode: 0644]
modules/markup/sanitizer_test.go [deleted file]