Commit 9a4c22d3 authored by Riyad Preukschas's avatar Riyad Preukschas

Remove unnecessary check in Markdown helper

parent 5348ee62
...@@ -27,7 +27,7 @@ module GitlabMarkdownHelper ...@@ -27,7 +27,7 @@ module GitlabMarkdownHelper
filter_html: true, filter_html: true,
with_toc_data: true, with_toc_data: true,
hard_wrap: true) hard_wrap: true)
@markdown ||= Redcarpet::Markdown.new(gitlab_renderer, @markdown = Redcarpet::Markdown.new(gitlab_renderer,
# see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use # see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use
no_intra_emphasis: true, no_intra_emphasis: true,
tables: true, tables: true,
......
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