1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 01:34:43 +00:00

2 Commits

Author SHA1 Message Date
wxiaoguang
8a20fba8eb
Refactor markup render system ()
Remove unmaintainable sanitizer rules. No need to add special "class"
regexp rules anymore, use RenderInternal.SafeAttr instead, more details
(and examples) are in the tests
2024-11-18 13:25:42 +08:00
wxiaoguang
a4275951ba
Split sanitizer functions and fine-tune some tests () 2024-05-31 13:26:01 +00:00