mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
templates: Disable hard wraps in Markdown rendering (#3553)
This commit is contained in:
parent
2d0f8831f8
commit
c35820012b
1 changed files with 0 additions and 1 deletions
|
@ -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?
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue