mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Refactor tmpl and blob_excerpt (#32967)
1. do not use `{{/* */}}` to remove spaces, use `{{- -}}` 2. fix "blob_excerpt" endpoint, remove the legacy fragile code: have tested commit diff and wiki diff
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{{/*
|
||||
==== DO NOT EDIT ====
|
||||
{{/* ==== DO NOT EDIT ====
|
||||
If you are customizing Gitea, please do not change this file.
|
||||
If you introduce mistakes in it, Gitea JavaScript code wouldn't run correctly.
|
||||
*/}}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
{{/*
|
||||
Two buttons (negative, positive):
|
||||
{{/* Two buttons (negative, positive):
|
||||
* ModalButtonTypes: "yes" (default) or "confirm"
|
||||
* ModalButtonCancelText
|
||||
* ModalButtonOkText
|
||||
|
Reference in New Issue
Block a user