mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 14:05:56 +01:00
2010fbe060
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. |
||
---|---|---|
.. | ||
math | ||
ast.go | ||
convertyaml.go | ||
goldmark.go | ||
main_test.go | ||
markdown_test.go | ||
markdown.go | ||
meta_test.go | ||
meta.go | ||
prefixed_id.go | ||
renderconfig_test.go | ||
renderconfig.go | ||
toc.go | ||
transform_blockquote.go | ||
transform_codespan.go | ||
transform_heading.go | ||
transform_image.go | ||
transform_link.go | ||
transform_list.go |