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