aboutsummaryrefslogtreecommitdiffstats
path: root/routers/common/markup.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/common/markup.go')
-rw-r--r--routers/common/markup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/common/markup.go b/routers/common/markup.go
index 89f24e0007..3acd12721e 100644
--- a/routers/common/markup.go
+++ b/routers/common/markup.go
@@ -20,7 +20,7 @@ import (
// RenderMarkup renders markup text for the /markup and /markdown endpoints
func RenderMarkup(ctx *context.Context, mode, text, urlPrefix, filePath string, wiki bool) {
- markupType := ""
+ var markupType string
relativePath := ""
if len(text) == 0 {