mirror of https://github.com/go-gitea/gitea.git
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.
e71eb8930a
This PR touches the most interesting part of the "template refactoring". 1. Unclear variable type. Especially for "web/feed/convert.go": sometimes it uses text, sometimes it uses HTML. 2. Assign text content to "RenderedContent" field, for example: ` project.RenderedContent = project.Description` in web/org/projects.go 3. Assign rendered content to text field, for example: `r.Note = rendered content` in web/repo/release.go 4. (possible) Incorrectly calling `{{Str2html .PackageDescriptor.Metadata.ReleaseNotes}}` in package/content/nuget.tmpl, I guess the name Str2html misleads developers to use it to "render string to html", but it only sanitizes. if ReleaseNotes really contains HTML, then this is not a problem. |
11 months ago | |
---|---|---|
.. | ||
assignees.go | 1 year ago | |
assignees_test.go | 1 year ago | |
comment.go | 11 months ago | |
comment_code.go | 1 year ago | |
comment_list.go | 12 months ago | |
comment_test.go | 1 year ago | |
content_history.go | 12 months ago | |
content_history_test.go | 1 year ago | |
dependency.go | 1 year ago | |
dependency_test.go | 1 year ago | |
issue.go | 11 months ago | |
issue_index.go | 1 year ago | |
issue_label.go | 1 year ago | |
issue_label_test.go | 1 year ago | |
issue_list.go | 2 years ago | |
issue_list_test.go | 2 years ago | |
issue_lock.go | 1 year ago | |
issue_project.go | 1 year ago | |
issue_search.go | 1 year ago | |
issue_stats.go | 1 year ago | |
issue_test.go | 11 months ago | |
issue_update.go | 1 year ago | |
issue_user.go | 1 year ago | |
issue_user_test.go | 2 years ago | |
issue_watch.go | 1 year ago | |
issue_watch_test.go | 1 year ago | |
issue_xref.go | 12 months ago | |
issue_xref_test.go | 1 year ago | |
label.go | 1 year ago | |
label_test.go | 1 year ago | |
main_test.go | 1 year ago | |
milestone.go | 11 months ago | |
milestone_list.go | 1 year ago | |
milestone_test.go | 1 year ago | |
pull.go | 11 months ago | |
pull_list.go | 1 year ago | |
pull_test.go | 11 months ago | |
reaction.go | 1 year ago | |
reaction_test.go | 1 year ago | |
review.go | 12 months ago | |
review_list.go | 12 months ago | |
review_test.go | 1 year ago | |
stopwatch.go | 1 year ago | |
stopwatch_test.go | 1 year ago | |
tracked_time.go | 1 year ago | |
tracked_time_test.go | 1 year ago |