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>
tokarchuk/v1.17
John Olheiser 5 years ago committed by Antoine GIRARD
parent 4b67989c9d
commit 53f9dbfc7b
  1. 5
      modules/markup/markdown/markdown.go

@ -48,8 +48,9 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte {
common.FootnoteExtension, common.FootnoteExtension,
extension.NewTypographer( extension.NewTypographer(
extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{ extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{
extension.EnDash: nil, extension.EnDash: nil,
extension.EmDash: nil, extension.EmDash: nil,
extension.Ellipsis: nil,
}), }),
), ),
), ),

Loading…
Cancel
Save