summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-07-21 05:08:15 +0800
committerLauris BH <lauris@nix.lv>2018-07-21 00:08:15 +0300
commit0bb1c842087295fd7ccd96adedeed57b7c0b30d9 (patch)
tree80dc363a4b35cdcf26bc2b2840769085f4bd2b7a /main.go
parentb174817b6a6c4b32956d52878f54f62b9bf79638 (diff)
downloadgitea-0bb1c842087295fd7ccd96adedeed57b7c0b30d9.tar.gz
gitea-0bb1c842087295fd7ccd96adedeed57b7c0b30d9.zip
Add csv file render support defaultly (#4105)
* add csv file render support defaultly * escaping csv column content
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 179132f587..e73f1d60a9 100644
--- a/main.go
+++ b/main.go
@@ -14,6 +14,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
// register supported doc types
+ _ "code.gitea.io/gitea/modules/markup/csv"
_ "code.gitea.io/gitea/modules/markup/markdown"
_ "code.gitea.io/gitea/modules/markup/orgmode"