mirror of
https://github.com/knadh/listmonk.git
synced 2024-09-20 07:16:33 +08:00
Configure Markdown parser to not escape double quotes. Closes #1698.
This commit is contained in:
parent
3103bbc2cf
commit
dc43e9cb8b
|
@ -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(`"`),
|
||||
}),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue