diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-12 19:31:20 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-19 18:51:09 +0200 |
commit | 98e540532cc2706e4cdc027bd2acb8406e954ddc (patch) | |
tree | 92f4157e6a50ae72ead3ccf60cf6a035fefc7f3b /lib/banzai/pipeline | |
parent | 29ea8d09e05d749f0b6a784311aea942f7d2d0f1 (diff) | |
download | gitlab-ce-98e540532cc2706e4cdc027bd2acb8406e954ddc.tar.gz |
Use a more powerful query to match videos in img tags
Also, always add a link to download videos since video playback is
tricky. Also, it solves the issue with email client not supporting
videos.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r-- | lib/banzai/pipeline/gfm_pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/pipeline/gfm_pipeline.rb b/lib/banzai/pipeline/gfm_pipeline.rb index d9edca7046c..8d94b199c66 100644 --- a/lib/banzai/pipeline/gfm_pipeline.rb +++ b/lib/banzai/pipeline/gfm_pipeline.rb @@ -7,8 +7,8 @@ module Banzai Filter::SanitizationFilter, Filter::UploadLinkFilter, - Filter::ImageLinkFilter, Filter::VideoLinkFilter, + Filter::ImageLinkFilter, Filter::EmojiFilter, Filter::TableOfContentsFilter, Filter::AutolinkFilter, |