Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00
This commit is contained in:
Leo Heitmann Ruiz 2024-03-30 15:23:48 +01:00
parent c340e02078
commit afcff0eebd

View file

@ -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"
}