Skip to content

Commit

Permalink
Don't convert ellipsis in markdown (#9905) (#9937)
Browse files Browse the repository at this point in the history
* Don't convert ellipsis

Signed-off-by: jolheiser <[email protected]>

* Formatting

Co-Authored-By: zeripath <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: Antoine GIRARD <[email protected]>
Co-authored-by: zeripath <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: Antoine GIRARD <[email protected]>
Co-authored-by: zeripath <[email protected]>
  • Loading branch information
4 people committed Jan 22, 2020
1 parent 128cc34 commit e24861a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/markup/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
),
),
Expand Down

0 comments on commit e24861a

Please sign in to comment.