diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2020-01-22 10:24:04 -0600 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2020-01-22 16:24:04 +0000 |
commit | e24861a54657c8cc70094cbcfdfb3e72ad483d32 (patch) | |
tree | 800fbacfc260c5e4fa830c02f22600dd0a0dd311 /modules | |
parent | 128cc34344104bfe32427a7ecc8422cd7a2918d6 (diff) | |
download | gitea-e24861a54657c8cc70094cbcfdfb3e72ad483d32.tar.gz gitea-e24861a54657c8cc70094cbcfdfb3e72ad483d32.zip |
Don't convert ellipsis in markdown (#9905) (#9937)
* 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>
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')
-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, }), ), ), |