Commit Graph

3 Commits (2cc65e356e02ef4ce11364949c2c5bec742d629b)

Author SHA1 Message Date
wxiaoguang 8a20fba8eb
Refactor markup render system (#32533)
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
2 months ago
wxiaoguang 5eebe1dc5f
Fix and refactor markdown rendering (#32522) 3 months ago
wxiaoguang 61be51e56b
Refactor markup package (#32399)
To make the markup package easier to maintain:
1. Split some go files into small files
2. Use a shared util.NopCloser, remove duplicate code
3. Remove unused functions
3 months ago