Remove adding <br> tags to newlines

This commit is contained in:
Gabe Kangas 2021-08-18 18:08:07 -07:00
parent e463c5b1d9
commit e5735b8d6d
2 changed files with 0 additions and 2 deletions

View file

@ -96,7 +96,6 @@ func RenderMarkdown(raw string) string {
markdown := goldmark.New(
goldmark.WithRendererOptions(
html.WithUnsafe(),
html.WithHardWraps(),
),
goldmark.WithExtensions(
extension.NewLinkify(

View file

@ -90,7 +90,6 @@ func RenderSimpleMarkdown(raw string) string {
markdown := goldmark.New(
goldmark.WithRendererOptions(
html.WithUnsafe(),
html.WithHardWraps(),
),
goldmark.WithExtensions(
extension.NewLinkify(