diff --git a/appview/pages/markdown.go b/appview/pages/markdown.go index a5116aa..d27d906 100644 --- a/appview/pages/markdown.go +++ b/appview/pages/markdown.go @@ -6,7 +6,6 @@ import ( "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/parser" - "github.com/yuin/goldmark/renderer/html" ) func renderMarkdown(source string) string { @@ -15,10 +14,6 @@ func renderMarkdown(source string) string { goldmark.WithParserOptions( parser.WithAutoHeadingID(), ), - goldmark.WithRendererOptions( - html.WithHardWraps(), - html.WithXHTML(), - ), ) var buf bytes.Buffer if err := md.Convert([]byte(source), &buf); err != nil {