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(
|
markdown := goldmark.New(
|
||||||
goldmark.WithRendererOptions(
|
goldmark.WithRendererOptions(
|
||||||
html.WithUnsafe(),
|
html.WithUnsafe(),
|
||||||
html.WithHardWraps(),
|
|
||||||
),
|
),
|
||||||
goldmark.WithExtensions(
|
goldmark.WithExtensions(
|
||||||
extension.NewLinkify(
|
extension.NewLinkify(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue