forgejo/modules/markup/markdown
Gusted f8c9ff55b9
[GITEA] Fix relative links rendering
- Backport of #2166
- Relative links were not properly being rendered, because the links
were being made absolute against the repository URL instead of
repository URL + /src/branch, which leads to incorrect links.
- Restore the 'old' behaviour. When there's branch information, that
should be used as base for links.
- Adjusts the test cases.
- Regression of 637451a45e
- Resolves https://codeberg.org/Codeberg/Community/issues/1411

(cherry picked from commit 0e9d52e291)
2024-01-17 17:57:22 +01:00
..
math Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
ast.go Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
convertyaml.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goldmark.go [GITEA] Fix relative links rendering 2024-01-17 17:57:22 +01:00
markdown.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
markdown_test.go [GITEA] Fix relative links rendering 2024-01-17 17:57:22 +01:00
meta.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
meta_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
renderconfig.go Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
renderconfig_test.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
toc.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00