0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 11:55:46 +01:00
gitea/modules/markup/markdown
silverwind 2447ffc74a
Disable all typographic replacements in markdown renderer (#11871)
* Disable all typographic replacements in markdown renderer

Previously we only disabled some of them. This disables all the default
replacements that goldmark's typographer extension offers, matching
GitHub's renderer.

Ref: https://github.com/yuin/goldmark#typographer-extension
Fixes: https://github.com/go-gitea/gitea/issues/11001

* remove typographer extension completely

* fix test

* really fix test

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-06-13 02:10:17 -04:00
..
ast.go
goldmark.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
markdown_test.go Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
markdown.go Disable all typographic replacements in markdown renderer (#11871) 2020-06-13 02:10:17 -04:00
renderconfig.go
toc.go