mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 19:26:09 +01: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 {
|
func formatLexerName(name string) string {
|
||||||
if name == "fallback" {
|
if name == "fallback" || name == "plaintext" {
|
||||||
return "Text"
|
return "Text"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue