mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04: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(),
|
parser.WithAutoHeadingID(),
|
||||||
),
|
),
|
||||||
goldmark.WithRendererOptions(
|
goldmark.WithRendererOptions(
|
||||||
gmhtml.WithHardWraps(),
|
|
||||||
gmhtml.WithUnsafe(), // TODO: this is not awesome, maybe should be configurable?
|
gmhtml.WithUnsafe(), // TODO: this is not awesome, maybe should be configurable?
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user