mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-23 19:10:03 +08:00
markdown: Render lists as part of summary (upstream bug workaround)
See github.com/russross/blackfriday/issues/189
This commit is contained in:
@ -142,7 +142,7 @@ func (l *linkGen) generateLinks(md Markdown, cfg *Config) bool {
|
||||
Title: metadata.Title,
|
||||
URL: reqPath,
|
||||
Date: metadata.Date,
|
||||
Summary: string(blackfriday.Markdown(summary, PlaintextRenderer{}, 0)),
|
||||
Summary: string(blackfriday.Markdown(summary, SummaryRenderer{}, 0)),
|
||||
})
|
||||
|
||||
break // don't try other file extensions
|
||||
|
Reference in New Issue
Block a user