ad05e48863
User images and videos will get proxied through the Camo server in order to keep malicious sites from collecting the IP address of users.
22 lines
542 B
Ruby
22 lines
542 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Banzai
|
|
module Pipeline
|
|
class AsciiDocPipeline < BasePipeline
|
|
def self.filters
|
|
FilterArray[
|
|
Filter::AsciiDocSanitizationFilter,
|
|
Filter::AssetProxyFilter,
|
|
Filter::SyntaxHighlightFilter,
|
|
Filter::ExternalLinkFilter,
|
|
Filter::PlantumlFilter,
|
|
Filter::AsciiDocPostProcessingFilter
|
|
]
|
|
end
|
|
|
|
def self.transform_context(context)
|
|
Filter::AssetProxyFilter.transform_context(context)
|
|
end
|
|
end
|
|
end
|
|
end
|