mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 01:10:37 +00: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