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 | |
---|---|---|
.. | ||
archiver.go | 1 year ago | |
attachment.go | 1 year ago | |
attachment_test.go | 1 year ago | |
avatar.go | 1 year ago | |
collaboration.go | 1 year ago | |
collaboration_test.go | 1 year ago | |
fork.go | 1 year ago | |
fork_test.go | 2 years ago | |
git.go | 12 months ago | |
issue.go | 2 years ago | |
language_stats.go | 1 year ago | |
main_test.go | 1 year ago | |
mirror.go | 1 year ago | |
pushmirror.go | 1 year ago | |
pushmirror_test.go | 1 year ago | |
redirect.go | 1 year ago | |
redirect_test.go | 1 year ago | |
release.go | 11 months ago | |
release_test.go | 1 year ago | |
repo.go | 1 year ago | |
repo_indexer.go | 1 year ago | |
repo_list.go | 11 months ago | |
repo_list_test.go | 11 months ago | |
repo_test.go | 1 year ago | |
repo_unit.go | 12 months ago | |
repo_unit_test.go | 1 year ago | |
search.go | 2 years ago | |
star.go | 1 year ago | |
star_test.go | 1 year ago | |
topic.go | 1 year ago | |
topic_test.go | 1 year ago | |
update.go | 1 year ago | |
upload.go | 1 year ago | |
user_repo.go | 11 months ago | |
user_repo_test.go | 2 years ago | |
watch.go | 1 year ago | |
watch_test.go | 1 year ago | |
wiki.go | 2 years ago | |
wiki_test.go | 2 years ago |