mirror of
https://github.com/knadh/listmonk.git
synced 2025-12-06 00:10:03 +01:00
Configure Markdown parser to not escape double quotes. Closes #1698.
This commit is contained in:
@@ -422,6 +422,12 @@ var markdown = goldmark.New(
|
||||
extension.Table,
|
||||
extension.Strikethrough,
|
||||
extension.TaskList,
|
||||
extension.NewTypographer(
|
||||
extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{
|
||||
extension.LeftDoubleQuote: []byte(`"`),
|
||||
extension.RightDoubleQuote: []byte(`"`),
|
||||
}),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user