-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expanding diff view broken #18281
Comments
The bug is caused by we wrote Before, Now, Possible code:
|
agh this is due to an interaction between the BIDI pr and the diff PR. When the diff PR was created the BIDI PR wasn't merged and when the BIDI PR was created the diff PR wasn't merged. |
Actually no it's a bit of debugging code that got left in. |
Unfortunately it appears that a small bit of debugging code was left in blob_excerpt.tmpl This breaks diff expansion causing go-gitea#18281. Fix go-gitea#18281 Signed-off-by: Andrew Thornton <art27@cantab.net>
This is still broken. Please have a look at https://try.gitea.io/testerxxx/gitea/pulls/1/files (or any other diff on try.gitea.io). I'm also experiencing the issue in the gitea/gitea:1.16.0-linux-amd64 docker image. |
@andre161292 if you meet other bugs, please help to tell the Gitea team how to reproduce it and get a screenshot. Thank you very much ~~ |
Fixed by #18502 |
* Remove accidental debugging in blob_excerpt.tmpl Unfortunately it appears that a small bit of debugging code was left in blob_excerpt.tmpl This breaks diff expansion causing go-gitea#18281. Fix go-gitea#18281 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Gitea Version
1.16.0+dev-841-gd413a1f8a d413a1f
Git Version
Operating System
latest firefox
How are you running Gitea?
irrelevant
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
Expanding a diff results in broken rendering of the diff, see also attached video.
afaik this happens on PR diff page, as well as commit diff page.
Screenshots
gitea_diff-2022-01-15_12.46.02.mp4
The text was updated successfully, but these errors were encountered: