0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-20 22:43:17 +01:00
gitea/modules/markup
Sergey Sharybin 49b8716c40
Support relative paths to videos from Wiki pages (#31061)
This change fixes cases when a Wiki page refers to a video stored in the
Wiki repository using relative path. It follows the similar case which
has been already implemented for images.

Test plan:
- Create repository and Wiki page
- Clone the Wiki repository
- Add video to it, say `video.mp4`
- Modify the markdown file to refer to the video using `<video
src="video.mp4">`
- Commit the Wiki page
- Observe that the video is properly displayed

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-06-21 18:23:54 +00:00
..
asciicast
common
console
csv
external
markdown Fix markdown math brackets render problem (#31420) 2024-06-20 02:12:54 +00:00
mdstripper
orgmode
camo.go
camo_test.go
html.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
html_codepreview.go
html_codepreview_test.go
html_internal_test.go
html_link.go Fix rendered wiki page link (#31398) 2024-06-18 03:09:20 +00:00
html_node.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
html_test.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
main_test.go
renderer.go Fix rendered wiki page link (#31398) 2024-06-18 03:09:20 +00:00
renderer_test.go
sanitizer.go
sanitizer_custom.go
sanitizer_default.go
sanitizer_default_test.go
sanitizer_description.go
sanitizer_description_test.go