forgejo/routers/web/repo
wxiaoguang 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
..
actions Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
badges
flags
setting Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
commit.go
compare.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
download.go
editor.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issue_content_history.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issue_dependency.go
issue_label.go
issue_label_test.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
projects.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
projects_test.go
pull.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
pull_review.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
release.go
release_test.go
render.go
repo.go
search.go
topic.go
treelist.go
view.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
view_test.go
wiki.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
wiki_test.go