diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-12 19:16:32 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-14 17:09:31 +0300 |
commit | ca87bb652a1a8390cdc686059f670b89b274dce2 (patch) | |
tree | 6fa7d3ff37e9f63fa8c05a5bd4bd7ea7904c28e4 /lib/banzai | |
parent | 60f8434a9d7def80e43ca2e1c8e4e3e502856913 (diff) |
Remove GollumTagsPipeline
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/pipeline/gollum_tags_pipeline.rb | 13 | ||||
-rw-r--r-- | lib/banzai/pipeline/wiki_pipeline.rb | 6 |
2 files changed, 4 insertions, 15 deletions
diff --git a/lib/banzai/pipeline/gollum_tags_pipeline.rb b/lib/banzai/pipeline/gollum_tags_pipeline.rb deleted file mode 100644 index 1f98d3a183a..00000000000 --- a/lib/banzai/pipeline/gollum_tags_pipeline.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'banzai' - -module Banzai - module Pipeline - class GollumTagsPipeline < BasePipeline - def self.filters - [ - Filter::GollumTagsFilter - ] - end - end - end -end diff --git a/lib/banzai/pipeline/wiki_pipeline.rb b/lib/banzai/pipeline/wiki_pipeline.rb index 4635a8d6471..50b5450e70b 100644 --- a/lib/banzai/pipeline/wiki_pipeline.rb +++ b/lib/banzai/pipeline/wiki_pipeline.rb @@ -2,8 +2,10 @@ require 'banzai' module Banzai module Pipeline - class WikiPipeline < CombinedPipeline.new(PlainMarkdownPipeline, GollumTagsPipeline, GfmPipeline) - + class WikiPipeline < FullPipeline + def self.filters + super.insert(1, Filter::GollumTagsFilter) + end end end end |