mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-10 09:02:36 +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.Table,
|
||||||
extension.Strikethrough,
|
extension.Strikethrough,
|
||||||
extension.TaskList,
|
extension.TaskList,
|
||||||
|
extension.NewTypographer(
|
||||||
|
extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{
|
||||||
|
extension.LeftDoubleQuote: []byte(`"`),
|
||||||
|
extension.RightDoubleQuote: []byte(`"`),
|
||||||
|
}),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue