0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-04 09:14:44 +01:00
gitea/modules/markup
wxiaoguang 633785a5f3
Refactor markup render system (#32612)
This PR removes (almost) all path tricks, and introduces "renderhelper"
package.

Now we can clearly see the rendering behaviors for comment/file/wiki,
more details are in "renderhelper" tests.

Fix #31411 , fix #18592, fix #25632 and maybe more problems. (ps: fix
#32608 by the way)
2024-11-24 16:18:57 +08:00
..
asciicast
common
console
csv Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
external Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
internal
markdown Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
mdstripper
orgmode Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
camo.go
camo_test.go
html.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_codepreview.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_codepreview_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_commit.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_email.go
html_emoji.go
html_internal_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_issue.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_link.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_mention.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_node.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
main_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
render.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
render_helper.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
render_link.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
render_link_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
renderer.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
renderer_test.go
sanitizer.go
sanitizer_custom.go
sanitizer_default.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
sanitizer_default_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
sanitizer_description.go
sanitizer_description_test.go