Merge pull request #1406 from riyad/markdown-code-fixes

Markdown code fixes
This commit is contained in:
Dmitriy Zaporozhets 2012-09-07 21:19:31 -07:00
commit 7cc4b3f632
3 changed files with 16 additions and 5 deletions

View file

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