mirror of
https://github.com/knadh/listmonk.git
synced 2025-02-23 13:55:29 +08:00
Configure Markdown parser to not escape double quotes. Closes #1698.
This commit is contained in:
parent
3103bbc2cf
commit
dc43e9cb8b
1 changed files with 6 additions and 0 deletions
|
@ -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