diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-12 02:10:08 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-14 12:09:31 -0200 |
commit | 4872b319c8152837bd36e7fc0a5ad912d1c3ef90 (patch) | |
tree | 1caed10e66de5b2f1c45e986e20e2baa599804d7 /app/helpers/gitlab_markdown_helper.rb | |
parent | a6a5990ee5f504107944c3bba5c18dbdea9f5207 (diff) | |
download | gitlab-ce-4872b319c8152837bd36e7fc0a5ad912d1c3ef90.tar.gz |
Use the WikiPipeline when rendering the wiki markdown content
Diffstat (limited to 'app/helpers/gitlab_markdown_helper.rb')
-rw-r--r-- | app/helpers/gitlab_markdown_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb index ca41657cec1..1a226252251 100644 --- a/app/helpers/gitlab_markdown_helper.rb +++ b/app/helpers/gitlab_markdown_helper.rb @@ -91,7 +91,7 @@ module GitlabMarkdownHelper def render_wiki_content(wiki_page) case wiki_page.format when :markdown - markdown(wiki_page.content) + markdown(wiki_page.content, pipeline: :wiki, project_wiki: @project_wiki) when :asciidoc asciidoc(wiki_page.content) else |