summaryrefslogtreecommitdiff
path: root/app/helpers/gitlab_markdown_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-31 16:16:26 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-31 16:16:26 -0400
commit90ab92621f81cfe5347a979c73aef692a23c43cc (patch)
tree94f46f6f9c932b1afd968d999742b0c3ee544fa5 /app/helpers/gitlab_markdown_helper.rb
parent7816b223603ee52cc7b0c40f1f1f36a4b752c477 (diff)
downloadgitlab-ce-90ab92621f81cfe5347a979c73aef692a23c43cc.tar.gz
Make `gfm` delegate to `Gitlab::Markdown.gfm` instead of `markdown`
Some usages of the `gfm` helper depend on the text not being rendered as standard Markdown. Ugh.
Diffstat (limited to 'app/helpers/gitlab_markdown_helper.rb')
-rw-r--r--app/helpers/gitlab_markdown_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb
index 4ccdeff353d..225caca1f42 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -61,7 +61,7 @@ module GitlabMarkdownHelper
# TODO (rspeicher): Remove all usages of this helper and just call `markdown`
# with a custom pipeline depending on the content being rendered
def gfm(text, options = {})
- markdown(text, options)
+ Gitlab::Markdown.gfm(text, options)
end
def asciidoc(text)