diff options
author | Eugenia Grieff <egrieff@gitlab.com> | 2019-09-04 09:52:06 +0100 |
---|---|---|
committer | Eugenia Grieff <egrieff@gitlab.com> | 2019-09-04 09:52:06 +0100 |
commit | a3b4d920ba7791739300a9dcde0d18897b13afcb (patch) | |
tree | 52433c6cb061d1999ec8e40546718ea182593ba2 /lib/banzai/pipeline/markup_pipeline.rb | |
parent | 9039a937661ea7190d1615b9b0141504afbb75dc (diff) | |
parent | fb9e8646bdb9f3f1382a86da890ff509f1b4549c (diff) | |
download | gitlab-ce-a3b4d920ba7791739300a9dcde0d18897b13afcb.tar.gz |
Merge branch 'master' into 60372-milestone-link-prevent-delete-issue-after-move-it-to-another-project-260372-milestone-link-prevent-delete-issue-after-move-it-to-another-project-2
Diffstat (limited to 'lib/banzai/pipeline/markup_pipeline.rb')
-rw-r--r-- | lib/banzai/pipeline/markup_pipeline.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/banzai/pipeline/markup_pipeline.rb b/lib/banzai/pipeline/markup_pipeline.rb index ceba082cd4f..c86d5f08ded 100644 --- a/lib/banzai/pipeline/markup_pipeline.rb +++ b/lib/banzai/pipeline/markup_pipeline.rb @@ -6,11 +6,16 @@ module Banzai def self.filters @filters ||= FilterArray[ Filter::SanitizationFilter, + Filter::AssetProxyFilter, Filter::ExternalLinkFilter, Filter::PlantumlFilter, Filter::SyntaxHighlightFilter ] end + + def self.transform_context(context) + Filter::AssetProxyFilter.transform_context(context) + end end end end |