Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
all: drop html hardwrapping
main.go | 4 ----
diff --git a/main.go b/main.go index 917dfe73b7037404c596d943eb685475cbbf2edb..42ff4aa513b9e5ebb357375b0ed0f1db915eec0b 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,6 @@ "github.com/go-chi/chi/v5/middleware" "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/parser" - "github.com/yuin/goldmark/renderer/html" "github.com/yuin/goldmark-meta" ) @@ -70,9 +69,6 @@ meta.Meta, ), goldmark.WithParserOptions( parser.WithAutoHeadingID(), - ), - goldmark.WithRendererOptions( - html.WithHardWraps(), ), )