loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request '[FEAT] Use 'Text' instead of 'Plaintext'' (#2833) from eo/forgejo:patch-1 into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2833
Reviewed-by: Gusted <gusted@noreply.codeberg.org>

+3 -3
+2 -2
modules/highlight/highlight.go
··· 216 216 } 217 217 218 218 func formatLexerName(name string) string { 219 - if name == "fallback" { 220 - return "Plaintext" 219 + if name == "fallback" || name == "plaintext" { 220 + return "Text" 221 221 } 222 222 223 223 return util.ToTitleCaseNoLower(name)
+1 -1
modules/highlight/highlight_test.go
··· 58 58 name: "tags.txt", 59 59 code: "<>", 60 60 want: lines("&lt;&gt;"), 61 - lexerName: "Plaintext", 61 + lexerName: "Text", 62 62 }, 63 63 { 64 64 name: "tags.py",