From 53f9dbfc7bd322a439bd6c6582d69506c7244384 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Wed, 22 Jan 2020 09:30:20 -0600 Subject: [PATCH] Don't convert ellipsis in markdown (#9905) * Don't convert ellipsis Signed-off-by: jolheiser * Formatting Co-Authored-By: zeripath Co-authored-by: Lunny Xiao Co-authored-by: Antoine GIRARD Co-authored-by: zeripath --- modules/markup/markdown/markdown.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/markup/markdown/markdown.go b/modules/markup/markdown/markdown.go index 5230fca4d..81b5635d3 100644 --- a/modules/markup/markdown/markdown.go +++ b/modules/markup/markdown/markdown.go @@ -48,8 +48,9 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte { common.FootnoteExtension, extension.NewTypographer( extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{ - extension.EnDash: nil, - extension.EmDash: nil, + extension.EnDash: nil, + extension.EmDash: nil, + extension.Ellipsis: nil, }), ), ),