Commit Graph

3 Commits (f47fb4fbaf5bb24b9950e784ee253c8c4099f28e)

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