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.
This commit is contained in:
Robert Speicher 2015-08-31 16:16:26 -04:00
parent 7816b22360
commit 90ab92621f
1 changed files with 1 additions and 1 deletions

View File

@ -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)