forked from gitea/gitea
1
0
Fork 0
gitea/modules/markup
Giteabot 1ddcaedb88
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>
2024-01-27 15:14:36 +00:00
..
asciicast Support asciicast files as new markup (#22448) 2023-01-18 08:46:58 +08:00
common Make `user-content-* ` consistent with github (#26388) 2023-08-09 09:30:31 +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) (#28803) 2024-01-16 02:13:29 +00:00
markdown Strip `/` from relative links (#28932) (#28952) 2024-01-27 15:14:36 +00:00
mdstripper Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
orgmode Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
camo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
camo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
html.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html_internal_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
renderer.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2023-02-13 15:01:09 -05:00
sanitizer.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00
sanitizer_test.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00