1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-27 09:11:53 -05:00
forgejo/modules/markup/markdown
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308)
Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
* Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
* Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.

Trivial enhancement (no breaking for end users):
* Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
2022-04-03 17:46:48 +08:00
..
ast.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
goldmark.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
markdown.go Support ignore all santize for external renderer (#18984) 2022-03-06 16:41:54 +08:00
markdown_test.go Bump goldmark to v1.4.11 (#19201) 2022-03-24 11:47:37 -04:00
meta.go Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
meta_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02: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 Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00