Remove unnecessary check in Markdown helper

This commit is contained in:
Riyad Preukschas 2012-09-08 01:11:32 +02:00
parent 5348ee6278
commit 9a4c22d395

View file

@ -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,