Configure Markdown parser to not escape double quotes. Closes #1698.

This commit is contained in:
Kailash Nadh 2024-02-04 11:32:20 +05:30
parent 3103bbc2cf
commit dc43e9cb8b

View file

@ -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(`"`),
}),
),
), ),
) )