diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2020-01-22 09:30:20 -0600 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-22 16:30:20 +0100 |
commit | 53f9dbfc7bd322a439bd6c6582d69506c7244384 (patch) | |
tree | a61f70b9232112277d266a4ed2b0755c26f26563 /modules/markup/markdown | |
parent | 4b67989c9d479739dfad83398ebcd22392c2190d (diff) | |
download | gitea-53f9dbfc7bd322a439bd6c6582d69506c7244384.tar.gz gitea-53f9dbfc7bd322a439bd6c6582d69506c7244384.zip |
Don't convert ellipsis in markdown (#9905)
* Don't convert ellipsis
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Formatting
Co-Authored-By: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'modules/markup/markdown')
-rw-r--r-- | modules/markup/markdown/markdown.go | 5 |
1 files 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, }), ), ), |