From afcff0eebdd8ce07434b2a6f4147a7e5a079aa46 Mon Sep 17 00:00:00 2001 From: Leo Heitmann Ruiz Date: Sat, 30 Mar 2024 15:23:48 +0100 Subject: [PATCH] Fix --- modules/highlight/highlight.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highlight/highlight.go b/modules/highlight/highlight.go index 8fa2de6daf..4ee47b7a13 100644 --- a/modules/highlight/highlight.go +++ b/modules/highlight/highlight.go @@ -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" }