From e24861a54657c8cc70094cbcfdfb3e72ad483d32 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Wed, 22 Jan 2020 10:24:04 -0600 Subject: [PATCH] Don't convert ellipsis in markdown (#9905) (#9937) * 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 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 5230fca4dc..81b5635d3b 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, }), ), ),