mirror of https://github.com/go-gitea/gitea.git
There were too many patches to the Render system, it's really difficult to make further improvements. This PR clears the legacy problems and fix TODOs. 1. Rename `RenderContext.Type` to `RenderContext.MarkupType` to clarify its usage. 2. Use `ContentMode` to replace `meta["mode"]` and `IsWiki`, to clarify the rendering behaviors. 3. Use "wiki" mode instead of "mode=gfm + wiki=true" 4. Merge `renderByType` and `renderByFile` 5. Add more comments ---- The problem of "mode=document": in many cases it is not set, so many non-comment places use comment's hard line break incorrectly |
5 months ago | |
---|---|---|
.. | ||
activity.go | 10 months ago | |
activitypub.go | 2 years ago | |
admin_user.go | 1 year ago | |
attachment.go | 2 years ago | |
commit_status.go | 2 years ago | |
commit_status_test.go | 2 years ago | |
cron.go | 2 years ago | |
doc.go | 2 years ago | |
fork.go | 2 years ago | |
git_blob.go | 2 years ago | |
git_hook.go | 2 years ago | |
hook.go | 5 months ago | |
issue.go | 8 months ago | |
issue_comment.go | 2 years ago | |
issue_label.go | 11 months ago | |
issue_milestone.go | 2 years ago | |
issue_reaction.go | 2 years ago | |
issue_stopwatch.go | 2 years ago | |
issue_test.go | 8 months ago | |
issue_tracked_time.go | 2 years ago | |
lfs_lock.go | 2 years ago | |
mirror.go | 2 years ago | |
miscellaneous.go | 5 months ago | |
nodeinfo.go | 2 years ago | |
notifications.go | 2 years ago | |
org.go | 2 years ago | |
org_member.go | 2 years ago | |
org_team.go | 10 months ago | |
package.go | 1 year ago | |
pull.go | 5 months ago | |
pull_review.go | 2 years ago | |
release.go | 2 years ago | |
repo.go | 6 months ago | |
repo_actions.go | 11 months ago | |
repo_branch.go | 5 months ago | |
repo_collaborator.go | 8 months ago | |
repo_commit.go | 2 years ago | |
repo_compare.go | 12 months ago | |
repo_file.go | 2 years ago | |
repo_key.go | 2 years ago | |
repo_note.go | 2 years ago | |
repo_refs.go | 2 years ago | |
repo_tag.go | 10 months ago | |
repo_topic.go | 2 years ago | |
repo_tree.go | 2 years ago | |
repo_watch.go | 2 years ago | |
repo_wiki.go | 2 years ago | |
secret.go | 2 years ago | |
settings.go | 2 years ago | |
status.go | 2 years ago | |
task.go | 2 years ago | |
user.go | 10 months ago | |
user_app.go | 9 months ago | |
user_email.go | 2 years ago | |
user_gpgkey.go | 2 years ago | |
user_key.go | 2 years ago | |
variable.go | 1 year ago | |
visible_type.go | 2 years ago |