From 9a4c22d395b96e27f9a1c5ec90b161ddf5815cdd Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Sat, 8 Sep 2012 01:11:32 +0200 Subject: [PATCH] Remove unnecessary check in Markdown helper --- app/helpers/gitlab_markdown_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb index ca2cb01f..e97e46f5 100644 --- a/app/helpers/gitlab_markdown_helper.rb +++ b/app/helpers/gitlab_markdown_helper.rb @@ -27,7 +27,7 @@ module GitlabMarkdownHelper filter_html: true, with_toc_data: 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 no_intra_emphasis: true, tables: true,