summaryrefslogtreecommitdiff
path: root/lib/banzai
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-01-17 13:07:49 -0500
committerDouwe Maan <douwe@selenight.nl>2017-01-17 13:07:49 -0500
commit3c9e556b9e1da01df0cf6527cc3468f9fed9dfeb (patch)
tree0b0dbbfebb7d8fdac3c4bc8526c38c4254b28dba /lib/banzai
parent6089ece09860e99528932ef574086c113ec08ae7 (diff)
downloadgitlab-ce-3c9e556b9e1da01df0cf6527cc3468f9fed9dfeb.tar.gz
Add more SyntaxHighlightFilter and MathFilter tests
Diffstat (limited to 'lib/banzai')
-rw-r--r--lib/banzai/pipeline/gfm_pipeline.rb6
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[