Commit 9a4c22d395b96e27f9a1c5ec90b161ddf5815cdd

Authored by Riyad Preukschas
1 parent 5348ee62

Remove unnecessary check in Markdown helper

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/gitlab_markdown_helper.rb
@@ -27,7 +27,7 @@ module GitlabMarkdownHelper @@ -27,7 +27,7 @@ module GitlabMarkdownHelper
27 filter_html: true, 27 filter_html: true,
28 with_toc_data: true, 28 with_toc_data: true,
29 hard_wrap: true) 29 hard_wrap: true)
30 - @markdown ||= Redcarpet::Markdown.new(gitlab_renderer, 30 + @markdown = Redcarpet::Markdown.new(gitlab_renderer,
31 # see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use 31 # see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use
32 no_intra_emphasis: true, 32 no_intra_emphasis: true,
33 tables: true, 33 tables: true,