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
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.
2 years ago
..
common Update Goldmark to Goldmark 1.4.4 (#18420) 2 years ago
csv Support ignore all santize for external renderer (#18984) 2 years ago
external Support ignore all santize for external renderer (#18984) 2 years ago
markdown Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
mdstripper format with gofumpt (#18184) 2 years ago
orgmode Support ignore all santize for external renderer (#18984) 2 years ago
camo.go Provide configuration to allow camo-media proxying (#12802) 2 years ago
camo_test.go Provide configuration to allow camo-media proxying (#12802) 2 years ago
html.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
html_internal_test.go format with gofumpt (#18184) 2 years ago
html_test.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 2 years ago
renderer.go Support ignore all santize for external renderer (#18984) 2 years ago
renderer_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
sanitizer.go format with gofumpt (#18184) 2 years ago
sanitizer_test.go format with gofumpt (#18184) 2 years ago