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( markdown := goldmark.New(
goldmark.WithRendererOptions( goldmark.WithRendererOptions(
html.WithUnsafe(), html.WithUnsafe(),
html.WithHardWraps(),
), ),
goldmark.WithExtensions( goldmark.WithExtensions(
extension.NewLinkify( extension.NewLinkify(

View file

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