From e5735b8d6db14fba5281d653389c7fb7ff2bcc48 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 18 Aug 2021 18:08:07 -0700 Subject: [PATCH] Remove adding
tags to newlines --- core/chat/events/events.go | 1 - utils/utils.go | 1 - 2 files changed, 2 deletions(-) diff --git a/core/chat/events/events.go b/core/chat/events/events.go index 3a3871393..18fdfee6b 100644 --- a/core/chat/events/events.go +++ b/core/chat/events/events.go @@ -96,7 +96,6 @@ func RenderMarkdown(raw string) string { markdown := goldmark.New( goldmark.WithRendererOptions( html.WithUnsafe(), - html.WithHardWraps(), ), goldmark.WithExtensions( extension.NewLinkify( diff --git a/utils/utils.go b/utils/utils.go index c532f8b92..73f79999b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -90,7 +90,6 @@ func RenderSimpleMarkdown(raw string) string { markdown := goldmark.New( goldmark.WithRendererOptions( html.WithUnsafe(), - html.WithHardWraps(), ), goldmark.WithExtensions( extension.NewLinkify(