aboutsummaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-08-13 15:30:28 -0700
committerAndrey Nering <andrey.nering@gmail.com>2017-08-13 19:30:27 -0300
commit29f3a6e492daa80a2ce5e3693743aa2448f391d9 (patch)
treeba4e53f90303a9e21d44a8909732903f593d5b9e /routers/init.go
parent2282e240282649880d6b8d8d11cc378dc3d64d41 (diff)
downloadgitea-29f3a6e492daa80a2ce5e3693743aa2448f391d9.tar.gz
gitea-29f3a6e492daa80a2ce5e3693743aa2448f391d9.zip
Fix rendering of external links (#2292)
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/init.go b/routers/init.go
index ad624d3b7a..bd46abdf94 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -50,6 +50,7 @@ func GlobalInit() {
if setting.InstallLock {
highlight.NewContext()
+ markdown.InitMarkdown()
markdown.NewSanitizer()
if err := models.NewEngine(migrations.Migrate); err != nil {
log.Fatal(4, "Failed to initialize ORM engine: %v", err)