forgejo/modules/markup/markdown
Gusted 0e9d52e291
[GITEA] Fix relative links rendering
- 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
2024-01-17 17:45:55 +01:00
..
math
ast.go
convertyaml.go
goldmark.go [GITEA] Fix relative links rendering 2024-01-17 17:45:55 +01:00
markdown.go
markdown_test.go [GITEA] Fix relative links rendering 2024-01-17 17:45:55 +01:00
meta.go
meta_test.go
renderconfig.go
renderconfig_test.go
toc.go