Fix rendering of external links (#2292) (#2315)

This commit is contained in:
Ethan Koenig
2017-08-17 15:03:41 +08:00
committed by Lunny Xiao
parent 09fff9e1c1
commit 8335b556d1
4 changed files with 56 additions and 79 deletions
+1
View File
@@ -49,6 +49,7 @@ func GlobalInit() {
if setting.InstallLock {
highlight.NewContext()
markdown.InitMarkdown()
markdown.NewSanitizer()
if err := models.NewEngine(); err != nil {
log.Fatal(4, "Failed to initialize ORM engine: %v", err)