Skip to content

Commit 53f9dbf

Browse files
jolheiserlunnysapkzeripath
committed
Don't convert ellipsis in markdown (#9905)
* 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]>
1 parent 4b67989 commit 53f9dbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/markup/markdown/markdown.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ func RenderRaw(body []byte, urlPrefix string, wikiMarkdown bool) []byte {
4848
common.FootnoteExtension,
4949
extension.NewTypographer(
5050
extension.WithTypographicSubstitutions(extension.TypographicSubstitutions{
51-
extension.EnDash: nil,
52-
extension.EmDash: nil,
51+
extension.EnDash: nil,
52+
extension.EmDash: nil,
53+
extension.Ellipsis: nil,
5354
}),
5455
),
5556
),

0 commit comments

Comments
 (0)