Commit ce743333 authored by Matthew Holt's avatar Matthew Holt

Markdown requires a base path (for now)

parent 46f5325c
...@@ -135,7 +135,7 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) { ...@@ -135,7 +135,7 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) {
} }
// Get the path scope // Get the path scope
if !c.NextArg() { if !c.NextArg() || c.Val() == "{" {
return mdconfigs, c.ArgErr() return mdconfigs, c.ArgErr()
} }
md.PathScope = c.Val() md.PathScope = c.Val()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment