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 Make TaskCheckBox render correctly (#11214) 2020-04-26 02:09:08 -03:00
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 Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00
toc.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00