mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
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>
This commit is contained in:
parent
4b67989c9d
commit
53f9dbfc7b
@ -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,
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user