diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-09-08 07:21:30 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-08 07:21:30 +0300 |
commit | 1d4785470db018d46fc247d1d11e12aa25352c08 (patch) | |
tree | c78be9d59d176ef0a5ba42d570b799209f1f4156 /lib/banzai/pipeline | |
parent | 6d1b5850342a91ebdff07bb57722ce28e31b773f (diff) |
Resolve "Process urls with spaces in all markdown processing"
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r-- | lib/banzai/pipeline/gfm_pipeline.rb | 1 | ||||
-rw-r--r-- | lib/banzai/pipeline/wiki_pipeline.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/pipeline/gfm_pipeline.rb b/lib/banzai/pipeline/gfm_pipeline.rb index e9be05e174e..bd34614f149 100644 --- a/lib/banzai/pipeline/gfm_pipeline.rb +++ b/lib/banzai/pipeline/gfm_pipeline.rb @@ -16,6 +16,7 @@ module Banzai Filter::MathFilter, Filter::ColorFilter, Filter::MermaidFilter, + Filter::SpacedLinkFilter, Filter::VideoLinkFilter, Filter::ImageLazyLoadFilter, Filter::ImageLinkFilter, diff --git a/lib/banzai/pipeline/wiki_pipeline.rb b/lib/banzai/pipeline/wiki_pipeline.rb index d2fe5a6492f..c37b8e71cb0 100644 --- a/lib/banzai/pipeline/wiki_pipeline.rb +++ b/lib/banzai/pipeline/wiki_pipeline.rb @@ -5,7 +5,6 @@ module Banzai @filters ||= begin super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter) .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter) - .insert_before(Filter::VideoLinkFilter, Filter::SpacedLinkFilter) end end end |