Skip to content

Commit

Permalink
templates: Disable hard wraps in Markdown rendering (#3553)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanders authored Jul 6, 2020
1 parent 2d0f883 commit c358200
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/caddyhttp/templates/tplcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ func (templateContext) funcMarkdown(input interface{}) (string, error) {
parser.WithAutoHeadingID(),
),
goldmark.WithRendererOptions(
gmhtml.WithHardWraps(),
gmhtml.WithUnsafe(), // TODO: this is not awesome, maybe should be configurable?
),
)
Expand Down

0 comments on commit c358200

Please sign in to comment.