diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-01-16 15:27:05 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-01-16 16:14:18 -0500 |
commit | dbfa58e2da7f939734eee5a599b4014d6095dde3 (patch) | |
tree | 44b7265dc7a20fcd1d4cc8f5782514837e959f17 /lib/banzai/pipeline | |
parent | 142be72a2aa6920fa60cc267737f2e702fdeae12 (diff) | |
download | gitlab-ce-dbfa58e2da7f939734eee5a599b4014d6095dde3.tar.gz |
Copying a rendered issue/comment will paste into GFM textareas as actual GFM
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r-- | lib/banzai/pipeline/gfm_pipeline.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/banzai/pipeline/gfm_pipeline.rb b/lib/banzai/pipeline/gfm_pipeline.rb index 5a1f873496c..09038d38b1f 100644 --- a/lib/banzai/pipeline/gfm_pipeline.rb +++ b/lib/banzai/pipeline/gfm_pipeline.rb @@ -1,6 +1,9 @@ module Banzai module Pipeline class GfmPipeline < BasePipeline + # Every filter should have an entry in app/assets/javascripts/copy_as_gfm.js.es6, + # in reverse order. + # Should have test coverage in spec/features/copy_as_gfm_spec.rb. def self.filters @filters ||= FilterArray[ Filter::SyntaxHighlightFilter, |