0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 23:05:37 +01:00
gitea/modules/markup
wxiaoguang fa307167f9
Fix missing images in editor preview due to wrong links (#31299) (#31393)
Backport #31299

Parse base path and tree path so that media links can be correctly
created with /media/.

Resolves #31294

---------

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
2024-06-17 15:07:21 +08: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 Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown Make blockquote attention recognize more syntaxes (#31240) (#31250) 2024-06-04 16:03:01 +00:00
mdstripper Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
orgmode fix: rendering internal file links in org (#29669) 2024-03-10 18:30:14 +02:00
camo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
camo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
html_codepreview_test.go Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
html_codepreview.go Refactor AppURL usage (#30885) (#30891) 2024-05-08 13:34:43 +00:00
html_internal_test.go Fix hash render end with colon (#31319) (#31346) 2024-06-13 01:14:49 +00:00
html_test.go Make pasted "img" tag has the same behavior as markdown image (#31235) (#31243) 2024-06-04 13:26:55 +00:00
html.go Fix hash render end with colon (#31319) (#31346) 2024-06-13 01:14:49 +00:00
renderer_test.go Move IsReadmeFile* from modules/markup/ to modules/util (#22877) 2023-02-13 15:01:09 -05:00
renderer.go Fix missing images in editor preview due to wrong links (#31299) (#31393) 2024-06-17 15:07:21 +08:00
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) (#31200) 2024-05-31 13:54:14 +00:00