Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
f3ceebad
Commit
f3ceebad
authored
Mar 14, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore newlines per md standard.
parent
b5d81174
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/helpers/gitlab_markdown_helper.rb
app/helpers/gitlab_markdown_helper.rb
+1
-2
No files found.
app/helpers/gitlab_markdown_helper.rb
View file @
f3ceebad
...
...
@@ -35,7 +35,6 @@ module GitlabMarkdownHelper
# see https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch-
filter_html:
true
,
with_toc_data:
true
,
hard_wrap:
true
,
safe_links_only:
true
}.
merge
(
options
))
@markdown
=
Redcarpet
::
Markdown
.
new
(
gitlab_renderer
,
...
...
@@ -45,7 +44,7 @@ module GitlabMarkdownHelper
fenced_code_blocks:
true
,
autolink:
true
,
strikethrough:
true
,
lax_
html_blocks
:
true
,
lax_
spacing
:
true
,
space_after_headers:
true
,
superscript:
true
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment