diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 103b32bd4a..4ab41e4db0 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -39,6 +39,11 @@
{{end}} {{/* Gitea icon toggles for markup etc.; HTML uses Preview/Source buttons above only */}} @@ -137,15 +142,9 @@ {{else if .IsHTMLFile}} {{if .HTMLPreviewEnabled}} - + {{else}} - + {{end}} {{else}}