Ignore newlines per md standard.
This commit is contained in:
parent
b5d81174fb
commit
f3ceebad42
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue