mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 19:32:20 +08:00
Remove prefixed whitespace in markdown rendering
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user