diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-01-17 13:07:49 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-01-17 13:07:49 -0500 |
commit | 3c9e556b9e1da01df0cf6527cc3468f9fed9dfeb (patch) | |
tree | 0b0dbbfebb7d8fdac3c4bc8526c38c4254b28dba /lib/banzai | |
parent | 6089ece09860e99528932ef574086c113ec08ae7 (diff) | |
download | gitlab-ce-3c9e556b9e1da01df0cf6527cc3468f9fed9dfeb.tar.gz |
Add more SyntaxHighlightFilter and MathFilter tests
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/pipeline/gfm_pipeline.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/banzai/pipeline/gfm_pipeline.rb b/lib/banzai/pipeline/gfm_pipeline.rb index 7b652aa79ec..ac95a79009b 100644 --- a/lib/banzai/pipeline/gfm_pipeline.rb +++ b/lib/banzai/pipeline/gfm_pipeline.rb @@ -2,8 +2,10 @@ module Banzai module Pipeline class GfmPipeline < BasePipeline # These filters convert GitLab Flavored Markdown (GFM) to HTML. - # The handlers defined in app/assets/javascripts/copy_as_gfm.js.es6 consequently convert that same HTML to GFM to be copied to the clipboard. - # Every filter that generates HTML from GFM should have a handler in app/assets/javascripts/copy_as_gfm.js.es6, in reverse order. + # The handlers defined in app/assets/javascripts/copy_as_gfm.js.es6 + # consequently convert that same HTML to GFM to be copied to the clipboard. + # Every filter that generates HTML from GFM should have a handler in + # app/assets/javascripts/copy_as_gfm.js.es6, in reverse order. # The GFM-to-HTML-to-GFM cycle is tested in spec/features/copy_as_gfm_spec.rb. def self.filters @filters ||= FilterArray[ |