You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
ast.go Make TaskCheckBox render correctly (#11214) 4 years ago
goldmark.go Allow different HardBreaks settings for documents and comments (#11515) 4 years ago
markdown.go Disable all typographic replacements in markdown renderer (#11871) 4 years ago
markdown_test.go Prevent 500 with badly formed task list (#11328) 4 years ago
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 4 years ago
toc.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 4 years ago