You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 months ago
..
asciicast Support asciicast files as new markup (#22448) 2 years ago
common Make `user-content-* ` consistent with github (#26388) 2 years ago
console Add context when rendering labels or emojis (#23281) 2 years ago
csv Add `MAX_ROWS` option for CSV rendering (#30268) 8 months ago
external Rework markup link rendering (#26745) 1 year ago
markdown Fix markdown math brackets render problem (#31420) 8 months ago
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
orgmode fix: rendering internal file links in org (#29669) 11 months ago
camo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
camo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
html.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
html_codepreview.go Refactor AppURL usage (#30885) 9 months ago
html_codepreview_test.go Render embedded code preview by permlink in markdown (#30234) 10 months ago
html_internal_test.go Fix hash render end with colon (#31319) 8 months ago
html_link.go Fix rendered wiki page link (#31398) 8 months ago
html_node.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
html_test.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
main_test.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 8 months ago
renderer.go Fix rendered wiki page link (#31398) 8 months ago
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2 years ago
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago