summaryrefslogtreecommitdiff
path: root/lib/banzai/pipeline
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2019-01-04 20:54:02 -0600
committerBrett Walker <bwalker@gitlab.com>2019-01-08 16:33:28 -0600
commit34ab6dfa051c29d27353a9f555e713f36c7954a4 (patch)
tree1d96ede7c9e421fc8ee42578c564783c634e575a /lib/banzai/pipeline
parent1b3affafab0f28c690ce93cc98ac6bd09cbda59f (diff)
downloadgitlab-ce-34ab6dfa051c29d27353a9f555e713f36c7954a4.tar.gz
Properly process footnotes in markdown
All the ids and classes were stripped. Add them back in and make ids unique
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r--lib/banzai/pipeline/gfm_pipeline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/pipeline/gfm_pipeline.rb b/lib/banzai/pipeline/gfm_pipeline.rb
index 5f13a6d6cde..d860dad0b6c 100644
--- a/lib/banzai/pipeline/gfm_pipeline.rb
+++ b/lib/banzai/pipeline/gfm_pipeline.rb
@@ -30,6 +30,7 @@ module Banzai
Filter::AutolinkFilter,
Filter::ExternalLinkFilter,
Filter::SuggestionFilter,
+ Filter::FootnoteFilter,
*reference_filters,