-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
- Gitea version (or commit ref): 1.12.5+25-g3dc7f2839 (Codeberg.org)
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- Commit that contains one PNG file and two Markdown files; only one of the two Markdown files is rendered: https://try.gitea.io/knut/incomplete-diff/commit/eb853fee9565e9d2d71dfb5f28a37a825a15feed
- PR that shows the same effect on both the Commits and Changed Files tabs: https://try.gitea.io/knut/incomplete-diff/pulls/1
- No
- Yes (provide example URL)
Parallel discussion at Codeberg: https://codeberg.org/Codeberg/Community/issues/313
Description
Hi everyone!
There seems to be a bug with the rendering of diffs in Gitea. It seems to me that whenever a diff contains an image, the diff is only rendered up to that image and all other files will not be rendered, although present in the commit that is to be displayed.
This can lead to code reviews being prevented, due to maintainers being unable to see the sourcecode (for example: https://codeberg.org/Codeberg/Documentation/pulls/99).
Screenshots
Metadata
Metadata
Assignees
Labels
No labels