Ensure relative paths for video are rewritten as we do for images
requested to merge 20189-markdown-video-doesn-t-work-when-the-referenced-video-file-is-in-same-repo into master
What does this MR do?
This ensures that path to videos are rewritten as we do for images.
Are there points in the code the reviewer needs to double check?
I've decided to add a new Blob#video?
method for simplicity's sake but this should probably be added to Gitlab::Git::Blob
.
What are the relevant issue numbers?
Fixes #20189 (closed).
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together