forgejo/modules/markup
Gusted c67255192e
[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

(cherry picked from commit 0e9d52e291)
2024-01-22 18:13:43 +00:00
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2024-01-22 18:13:41 +00:00
console
csv
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown [GITEA] Fix relative links rendering 2024-01-22 18:13:43 +00:00
mdstripper
orgmode Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
camo.go
camo_test.go
html.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
html_internal_test.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
html_test.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
renderer.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
renderer_test.go
sanitizer.go Use restricted sanitizer for repository description (#28141) 2023-11-23 16:34:25 +00:00
sanitizer_test.go Use restricted sanitizer for repository description (#28141) 2023-11-23 16:34:25 +00:00