mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-23 21:24:06 +08:00
templates: Disable hard wraps in Markdown rendering (#3553)
This commit is contained in:
parent
2d0f8831f8
commit
c35820012b
@ -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…
x
Reference in New Issue
Block a user