mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 23:48:39 +01:00
be302f3025
Backport #31061 by @sergeyvfx 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: Sergey Sharybin <sergey.vfx@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
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 | ||
renderer_test.go | ||
renderer.go | ||
sanitizer_custom.go | ||
sanitizer_default_test.go | ||
sanitizer_default.go | ||
sanitizer_description_test.go | ||
sanitizer_description.go | ||
sanitizer.go |