diff --git a/controllers/document.go b/controllers/document.go
index c8cdc973..c49353ea 100644
--- a/controllers/document.go
+++ b/controllers/document.go
@@ -1083,6 +1083,8 @@ func RecursiveFun(parent_id int, prefix, dpath string, c *DocumentController, bo
c.Abort("500")
}
//beego.Info(fpath,html)
+ html = strings.Replace(html,"
{{if eq .Model.Editor "markdown"}}
+
+
{{else}}
{{end}}
-
-
-