diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2019-03-05 14:14:11 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-03-05 14:14:11 +0000 |
commit | 59afa80ae08767cd8766eb0104c82e4aa7c27ed9 (patch) | |
tree | 3c618293ca0c02bdc40783fd0ef8387b9e4335f0 /lib/banzai | |
parent | 231b3ca6257c5fa6fef958992f3587b83fd135d4 (diff) | |
download | gitlab-ce-59afa80ae08767cd8766eb0104c82e4aa7c27ed9.tar.gz |
Add SyntaxHighlightFilter to markup pipeline
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/pipeline/markup_pipeline.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/banzai/pipeline/markup_pipeline.rb b/lib/banzai/pipeline/markup_pipeline.rb index db79a22549c..ceba082cd4f 100644 --- a/lib/banzai/pipeline/markup_pipeline.rb +++ b/lib/banzai/pipeline/markup_pipeline.rb @@ -7,7 +7,8 @@ module Banzai @filters ||= FilterArray[ Filter::SanitizationFilter, Filter::ExternalLinkFilter, - Filter::PlantumlFilter + Filter::PlantumlFilter, + Filter::SyntaxHighlightFilter ] end end |