feat: add support for markdown in offline message. Closes #2921 (#2977)

This commit is contained in:
Gabe Kangas
2023-05-01 19:45:27 -07:00
committed by GitHub
parent 295e7768a0
commit 7aca27cb08
5 changed files with 69 additions and 13 deletions

View File

@ -145,7 +145,7 @@ func RenderSimpleMarkdown(raw string) string {
log.Fatalln(err)
}
return buf.String()
return strings.TrimSpace(buf.String())
}
// RenderPageContentMarkdown will return HTML specifically handled for the user-specified page content.