0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-24 15:19:18 -05:00
forgejo/modules/markup
Giteabot afdce6bd45
Strip / from relative links (#28932) (#28952)
Backport #28932 by @KN4CK3R

Fixes #28915

Restores the old behaviour:

https://github.com/go-gitea/gitea/pull/26745/files#diff-d78a9d361b1fddc12218e4dd42f42d39d6be1fda184041e06bb6fb30f0d94c59L96

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit 1ddcaedb88)
2024-01-31 14:18:26 +01:00
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2023-12-13 18:12:08 +01:00
console
csv
external Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
markdown Strip / from relative links (#28932) (#28952) 2024-01-31 14:18:26 +01:00
mdstripper
orgmode Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
camo.go
camo_test.go
html.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
html_internal_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
html_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
renderer.go Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
renderer_test.go
sanitizer.go [GITEA] Use restricted sanitizer for repository description 2023-11-13 14:06:30 +01:00
sanitizer_test.go [GITEA] Use restricted sanitizer for repository description 2023-11-13 14:06:30 +01:00