mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 12:29:05 +02:00
No highlighting for .txt files (#1922)
This commit is contained in:
1 parent
4a3f40460b
commit
6d613fb28e
1 file changed
+3
-1
@@ -63,7 +63,9 @@ var (
|
||||
}
|
||||
|
||||
// Extensions that are not same as highlight classes.
|
||||
highlightMapping = map[string]string{}
|
||||
highlightMapping = map[string]string{
|
||||
".txt": "nohighlight",
|
||||
}
|
||||
)
|
||||
|
||||
// NewContext loads highlight map
|
||||
|
||||
Reference in new issue
Block a user