mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
Fix
This commit is contained in:
parent
c340e02078
commit
afcff0eebd
|
@ -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