Remove prefixed whitespace in markdown rendering

This commit is contained in:
Gabe Kangas
2021-05-22 17:27:39 -07:00
parent 36a15a97dd
commit bf6a3d9e85
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ func RenderPageContentMarkdown(raw string) string {
panic(err)
}
return buf.String()
return strings.TrimSpace(buf.String())
}
// GetCacheDurationSecondsForPath will return the number of seconds to cache an item.