Commit 90ab9262 authored by Robert Speicher's avatar Robert Speicher

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.
parent 7816b223
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment