wxiaoguang and Earl Warren
65248945c9
Refactor locale&string&template related code ( #29165 )
...
Clarify when "string" should be used (and be escaped), and when
"template.HTML" should be used (no need to escape)
And help PRs like #29059 , to render the error messages correctly.
(cherry picked from commit f3eb835886031df7a562abc123c3f6011c81eca8)
Conflicts:
modules/web/middleware/binding.go
routers/web/feed/convert.go
tests/integration/branches_test.go
tests/integration/repo_branch_test.go
trivial context conflicts
2024-02-16 15:20:52 +01:00
..
2023-12-19 20:12:02 +01:00
2023-12-07 15:27:36 +08:00
2024-02-16 12:16:11 +00:00
2024-02-16 15:20:52 +01:00
2024-02-16 12:16:11 +00:00
2024-02-16 15:20:52 +01:00
2023-11-25 17:21:21 +00:00
2023-11-25 17:21:21 +00:00
2023-10-11 04:24:07 +00:00
2023-10-11 04:24:07 +00:00
2024-02-05 16:57:58 +01:00
2024-02-05 16:57:58 +01:00
2023-10-11 04:24:07 +00:00
2023-10-11 04:24:07 +00:00
2023-07-22 22:14:27 +08:00
2023-07-22 22:14:27 +08:00
2023-10-11 04:24:07 +00:00
2023-10-20 14:01:25 +02:00
2023-12-19 20:12:02 +01:00
2023-09-25 13:17:37 +00:00
2024-02-05 15:56:45 +01:00
2024-02-05 15:56:45 +01:00
2023-08-05 10:40:27 +08:00
2023-12-14 09:26:59 +00:00
2023-09-16 14:39:12 +00:00
2023-10-03 10:30:41 +00:00
2023-09-14 02:59:53 +00:00
2024-02-15 16:19:36 +01:00
2024-02-05 14:44:33 +01:00
2023-12-19 20:12:02 +01:00
2023-12-25 21:25:29 +01:00
2023-09-28 01:38:53 +00:00
2023-12-19 20:12:02 +01:00
2023-12-19 20:12:02 +01:00
2024-02-05 14:44:33 +01:00
2024-02-05 16:57:58 +01:00
2024-02-05 16:57:58 +01:00
2024-01-27 21:09:51 +01:00
2024-02-05 15:56:45 +01:00
2024-02-05 15:56:45 +01:00
2024-02-15 16:19:36 +01:00
2023-11-05 13:25:40 +00:00
2024-02-16 15:20:52 +01:00
2023-09-16 14:39:12 +00:00
2023-12-19 20:12:02 +01:00
2024-01-15 15:07:22 +00:00
2024-01-15 15:07:22 +00:00