forgejo/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.go Disable all typographic replacements in markdown renderer (#11871) 2020-06-13 02:10:17 -04:00
markdown_test.go
renderconfig.go
toc.go