forgejo/modules/markup
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
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2024-01-15 16:47:16 +00:00
console Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
csv Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown [GITEA] Fix relative links rendering 2024-01-17 17:45:55 +01:00
mdstripper
orgmode Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
camo.go
camo_test.go
html.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
html_internal_test.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00: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