BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
61c73575
Commit
61c73575
authored
Apr 29, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TaskList::Filter to pipeline
parent
5ef8bd33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
markdown.rb
lib/gitlab/markdown.rb
+7
-4
No files found.
lib/gitlab/markdown.rb
View file @
61c73575
require
'html/pipeline'
require
'task_list/filter'
module
Gitlab
# Custom parser for GitLab-flavored Markdown
...
...
@@ -76,9 +77,9 @@ module Gitlab
text
=
result
[
:output
].
to_html
(
save_with:
save_options
)
if
options
[
:parse_tasks
]
text
=
parse_tasks
(
text
)
end
#
if options[:parse_tasks]
#
text = parse_tasks(text)
#
end
text
.
html_safe
end
...
...
@@ -106,7 +107,9 @@ module Gitlab
Gitlab
::
Markdown
::
SnippetReferenceFilter
,
Gitlab
::
Markdown
::
CommitRangeReferenceFilter
,
Gitlab
::
Markdown
::
CommitReferenceFilter
,
Gitlab
::
Markdown
::
LabelReferenceFilter
Gitlab
::
Markdown
::
LabelReferenceFilter
,
TaskList
::
Filter
]
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