Commit 9a4c22d395b96e27f9a1c5ec90b161ddf5815cdd
1 parent
5348ee62
Exists in
master
and in
4 other branches
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 | 27 | filter_html: true, |
28 | 28 | with_toc_data: true, |
29 | 29 | hard_wrap: true) |
30 | - @markdown ||= Redcarpet::Markdown.new(gitlab_renderer, | |
30 | + @markdown = Redcarpet::Markdown.new(gitlab_renderer, | |
31 | 31 | # see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use |
32 | 32 | no_intra_emphasis: true, |
33 | 33 | tables: true, | ... | ... |