You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I traced it to templates/repo/issue/view_content/comments.tmpl line 521:
{{TabSizeClass $.Editorconfig $file.Name}}
$.Editorconfig is nil here, so TabSizeClass incorrectly returns the default tab size of 8. Maybe someone familiar around these parts sees the fix, for me it at least is not obvious.
Gitea Version
main
Can you reproduce the bug on the Gitea demo site?
Yes
The text was updated successfully, but these errors were encountered:
Description
Tab size preference from
.editorconfig
is not working in the conversation tab:https://try.gitea.io/silverwind/symlink-test/pulls/11
It is working in the Files tab:
https://try.gitea.io/silverwind/symlink-test/pulls/11/files
I traced it to
templates/repo/issue/view_content/comments.tmpl
line 521:$.Editorconfig
is nil here, soTabSizeClass
incorrectly returns the default tab size of 8. Maybe someone familiar around these parts sees the fix, for me it at least is not obvious.Gitea Version
main
Can you reproduce the bug on the Gitea demo site?
Yes
The text was updated successfully, but these errors were encountered: