mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 21:27:13 +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