1e6fc0c6a4
Removes the following filters from its parent GfmPipeline: - SyntaxHighlightFilter - UploadLinkFilter - TableOfContentsFilter - LabelReferenceFilter - TaskListFilter Closes #1697
25 lines
623 B
Ruby
25 lines
623 B
Ruby
require 'banzai'
|
|
|
|
module Banzai
|
|
module Pipeline
|
|
class SingleLinePipeline < GfmPipeline
|
|
def self.filters
|
|
@filters ||= [
|
|
Filter::SanitizationFilter,
|
|
|
|
Filter::EmojiFilter,
|
|
Filter::AutolinkFilter,
|
|
Filter::ExternalLinkFilter,
|
|
|
|
Filter::UserReferenceFilter,
|
|
Filter::IssueReferenceFilter,
|
|
Filter::ExternalIssueReferenceFilter,
|
|
Filter::MergeRequestReferenceFilter,
|
|
Filter::SnippetReferenceFilter,
|
|
Filter::CommitRangeReferenceFilter,
|
|
Filter::CommitReferenceFilter,
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|