README rendering broken #9076

Closed
opened 2025-11-02 08:28:32 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @wxiaoguang on GitHub (Jun 16, 2022).

https://try.gitea.io/wxiaoguang/test

image

Originally created by @wxiaoguang on GitHub (Jun 16, 2022). https://try.gitea.io/wxiaoguang/test ![image](https://user-images.githubusercontent.com/2114189/174134135-6244dfa1-cd33-496e-b471-d8925067a5b6.png)
GiteaMirror added the issue/regressiontype/bug labels 2025-11-02 08:28:32 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 16, 2022):

Three related changes (RelativePath) in #19017

Maybe the first one (renderReadmeFile) should be changed back (and adding the tree path prefix?), the ctx.Repo.TreePath is empty here.

image

@wxiaoguang commented on GitHub (Jun 16, 2022): Three related changes (`RelativePath`) in #19017 Maybe the first one (`renderReadmeFile`) should be changed back (and adding the tree path prefix?), the `ctx.Repo.TreePath` is empty here. ![image](https://user-images.githubusercontent.com/2114189/174137416-ff0e0f37-1806-418d-b841-76c9326538fe.png)
Author
Owner

@lunny commented on GitHub (Jun 17, 2022):

web/repo/view.go:366:renderReadmeFile() [E] [62abdc6e] Render failed: Render options both filename and type missing then fallback
@lunny commented on GitHub (Jun 17, 2022): ``` web/repo/view.go:366:renderReadmeFile() [E] [62abdc6e] Render failed: Render options both filename and type missing then fallback ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9076