| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://gitea.com/gitea/docs (#31536)
|
|
|
| |
Signed-off-by: pengqiseven <912170095@qq.com>
|
|
|
|
|
|
| |
* "mail/issue/default.tmpl": the body is rendered by backend
`markdown.RenderString() HTML`, it has been already sanitized
* "repo/settings/webhook/base_list.tmpl": "Description" is prepared by
backend `ctx.Tr`, it doesn't need to be sanitized
|
|
|
| |
https://github.com/go-gitea/gitea/pull/29395
|
|
|
|
|
| |
Str2html was abused a lot. So use a proper name for it: SanitizeHTML
And add some tests to show its behavior.
|
|
|
|
| |
After this PR: no need to play with the Safe/Escape tricks anymore. See
the changes for more details.
|
|
|
|
|
| |
(#29214)
Enable these two and fix issues.
|
|
|
|
|
|
|
| |
Many of the golang links point to the old site and don't use https. This
pull request updates these outdated links to https://go.dev .
https://github.com/go-gitea/gitea/issues/28979
|
| |
|
|
This PR cleans up the docs in a way to make them simpler to ingest by
our [docs repo](https://gitea.com/gitea/gitea-docusaurus).
1. It includes all of the sed invocations our ingestion did, removing
the need to do it at build time.
2. It replaces the shortcode variable replacement method with
`@variable@` style, simply for easier sed invocations when required.
3. It removes unused files and moves the docs up a level as cleanup.
---------
Signed-off-by: jolheiser <john.olheiser@gmail.com>
|