mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
"Plaintext" => "Text"
This commit is contained in:
parent
8339b24d61
commit
4f43b7338b
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ func PlainText(code []byte) []template.HTML {
|
||||||
|
|
||||||
func formatLexerName(name string) string {
|
func formatLexerName(name string) string {
|
||||||
if name == "fallback" {
|
if name == "fallback" {
|
||||||
return "Plaintext"
|
return "Text"
|
||||||
}
|
}
|
||||||
|
|
||||||
return util.ToTitleCaseNoLower(name)
|
return util.ToTitleCaseNoLower(name)
|
||||||
|
|
Loading…
Reference in a new issue