summaryrefslogtreecommitdiff
path: root/lib/redcarpet/render
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-12 22:45:16 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-12 23:32:16 -0400
commit907860ed3d6f1a9865026b3028c48c69b1b591ee (patch)
treed444d70b0797c8a962e337bfd715758102fb9744 /lib/redcarpet/render
parent7d1c06793eb2e2bdf625198be98c0bc10d8164cc (diff)
downloadgitlab-ce-907860ed3d6f1a9865026b3028c48c69b1b591ee.tar.gz
Remove the `gfm_with_options` helperrs-remove-gfm_with_options
It was redundant because `gfm` also took options.
Diffstat (limited to 'lib/redcarpet/render')
-rw-r--r--lib/redcarpet/render/gitlab_html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcarpet/render/gitlab_html.rb b/lib/redcarpet/render/gitlab_html.rb
index 04440e4f68d..f57b56cbdf0 100644
--- a/lib/redcarpet/render/gitlab_html.rb
+++ b/lib/redcarpet/render/gitlab_html.rb
@@ -41,6 +41,6 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML
end
def postprocess(full_document)
- h.gfm_with_options(full_document, @options)
+ h.gfm(full_document, @options)
end
end