mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
Fix
This commit is contained in:
parent
c340e02078
commit
afcff0eebd
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ func PlainText(code []byte) []template.HTML {
|
|||
}
|
||||
|
||||
func formatLexerName(name string) string {
|
||||
if name == "fallback" {
|
||||
if name == "fallback" || name == "plaintext" {
|
||||
return "Text"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue