gitea/modules/markup
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
..
common
csv
external
markdown Disable all typographic replacements in markdown renderer (#11871) 2020-06-13 02:10:17 -04:00
mdstripper
orgmode
html_internal_test.go
html_test.go Disable all typographic replacements in markdown renderer (#11871) 2020-06-13 02:10:17 -04:00
html.go
markup_test.go
markup.go
sanitizer_test.go
sanitizer.go