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.
Fix #31395 This regression is introduced by #30273. To find out how GitHub handles this case, I did [some tests](https://github.com/go-gitea/gitea/issues/31395#issuecomment-2278929115). I use redirect in this PR instead of checking if the corresponding `.md` file exists when rendering the link because GitHub also uses redirect. With this PR, there is no need to resolve the raw wiki link when rendering a wiki page. If a wiki link points to a raw file, access will be redirected to the raw link. |
6 months ago | |
---|---|---|
.. | ||
asciicast | 2 years ago | |
common | 2 years ago | |
console | 8 months ago | |
csv | 8 months ago | |
external | 1 year ago | |
markdown | 6 months ago | |
mdstripper | 9 months ago | |
orgmode | 11 months ago | |
camo.go | 2 years ago | |
camo_test.go | 2 years ago | |
html.go | 6 months ago | |
html_codepreview.go | 9 months ago | |
html_codepreview_test.go | 10 months ago | |
html_internal_test.go | 8 months ago | |
html_link.go | 6 months ago | |
html_node.go | 8 months ago | |
html_test.go | 6 months ago | |
main_test.go | 8 months ago | |
renderer.go | 8 months ago | |
renderer_test.go | 2 years ago | |
sanitizer.go | 8 months ago | |
sanitizer_custom.go | 8 months ago | |
sanitizer_default.go | 8 months ago | |
sanitizer_default_test.go | 8 months ago | |
sanitizer_description.go | 8 months ago | |
sanitizer_description_test.go | 8 months ago |