Skip to content
Snippets Groups Projects
Commit 90ab9262 authored by Robert Speicher's avatar Robert Speicher
Browse files

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
No related branches found
No related tags found
1 merge request!1223Decouple Gitlab::Markdown from the GitlabMarkdownHelper
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment