1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-09 04:04:27 +00:00

2 Commits

Author SHA1 Message Date
wxiaoguang
386c1ed908
Refactor HTMLFormat, update chroma render, fix js error ()
A small refactor to improve HTMLFormat, to help to prevent low-level
mistakes.

And fix , fix 
2025-01-08 03:44:32 +00:00
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