mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 00:54:11 +01:00
49b8716c40
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> |
||
---|---|---|
.. | ||
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 |