mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 05:38:58 +03:00
Remove adding <br> tags to newlines
This commit is contained in:
parent
e463c5b1d9
commit
e5735b8d6d
2 changed files with 0 additions and 2 deletions
|
@ -96,7 +96,6 @@ func RenderMarkdown(raw string) string {
|
|||
markdown := goldmark.New(
|
||||
goldmark.WithRendererOptions(
|
||||
html.WithUnsafe(),
|
||||
html.WithHardWraps(),
|
||||
),
|
||||
goldmark.WithExtensions(
|
||||
extension.NewLinkify(
|
||||
|
|
|
@ -90,7 +90,6 @@ func RenderSimpleMarkdown(raw string) string {
|
|||
markdown := goldmark.New(
|
||||
goldmark.WithRendererOptions(
|
||||
html.WithUnsafe(),
|
||||
html.WithHardWraps(),
|
||||
),
|
||||
goldmark.WithExtensions(
|
||||
extension.NewLinkify(
|
||||
|
|
Loading…
Reference in a new issue