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
mdstripper
orgmode
camo_test.go
camo.go
html_codepreview_test.go
html_codepreview.go
html_internal_test.go
html_link.go
html_node.go
html_test.go
html.go
main_test.go
renderer_test.go
renderer.go
sanitizer_custom.go
sanitizer_default_test.go
sanitizer_default.go
sanitizer_description_test.go
sanitizer_description.go
sanitizer.go