Commit f3ceebad authored by Marin Jankovski's avatar Marin Jankovski

Ignore newlines per md standard.

parent b5d81174
...@@ -35,7 +35,6 @@ module GitlabMarkdownHelper ...@@ -35,7 +35,6 @@ module GitlabMarkdownHelper
# see https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch- # see https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch-
filter_html: true, filter_html: true,
with_toc_data: true, with_toc_data: true,
hard_wrap: true,
safe_links_only: true safe_links_only: true
}.merge(options)) }.merge(options))
@markdown = Redcarpet::Markdown.new(gitlab_renderer, @markdown = Redcarpet::Markdown.new(gitlab_renderer,
...@@ -45,7 +44,7 @@ module GitlabMarkdownHelper ...@@ -45,7 +44,7 @@ module GitlabMarkdownHelper
fenced_code_blocks: true, fenced_code_blocks: true,
autolink: true, autolink: true,
strikethrough: true, strikethrough: true,
lax_html_blocks: true, lax_spacing: true,
space_after_headers: true, space_after_headers: true,
superscript: true) superscript: true)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment