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

2 Commits

Author SHA1 Message Date
wxiaoguang
633785a5f3
Refactor markup render system ()
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  , fix , fix  and maybe more problems. (ps: fix
 by the way)
2024-11-24 16:18:57 +08:00
Lunny Xiao
015efcd8bf
Use repo as of renderctx's member rather than a repoPath on metas ()
Use a `gitrepo.Repository` in the markup's RenderContext but not store
the repository's path.
2024-05-30 07:04:01 +00:00