summaryrefslogtreecommitdiff
path: root/lib/banzai/pipeline
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-04-01 15:03:39 -0300
committerGabriel Mazetto <gabriel@gitlab.com>2016-04-06 03:30:56 -0300
commit207b7218aa4394dc24c68041eade04474ff41537 (patch)
tree6f9cde70ccd9b0b5f757b868875bd01cdc141148 /lib/banzai/pipeline
parent22055e10580ae93c2cb87956eefba0a06e9b50d0 (diff)
downloadgitlab-ce-207b7218aa4394dc24c68041eade04474ff41537.tar.gz
Ensure correct filter order to validate with our markdown specpatch/fix-markdown-preview-wikis
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r--lib/banzai/pipeline/wiki_pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/pipeline/wiki_pipeline.rb b/lib/banzai/pipeline/wiki_pipeline.rb
index bcb89485dec..c37b8e71cb0 100644
--- a/lib/banzai/pipeline/wiki_pipeline.rb
+++ b/lib/banzai/pipeline/wiki_pipeline.rb
@@ -4,7 +4,7 @@ module Banzai
def self.filters
@filters ||= begin
super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
- .insert_after(Filter::TableOfContentsFilter, Filter::WikiLinkFilter)
+ .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
end
end
end