0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-14 05:25:26 +01:00
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.go Update emoji regex (#11584) 2020-05-29 17:08:36 +01:00
html_internal_test.go
html_test.go Disable all typographic replacements in markdown renderer (#11871) 2020-06-13 02:10:17 -04:00
markup.go
markup_test.go
sanitizer.go
sanitizer_test.go