Commit 85584834 authored by Robert Speicher's avatar Robert Speicher
Browse files

Remove redundant `require`s from Banzai files

We're trying to avoid circular dependency errors.
parent 474bdd17e412
require 'active_support/core_ext/string/output_safety'
module Banzai
module Filter
def self.[](name)
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'action_controller'
require 'gitlab_emoji'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that replaces :emoji: with images.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter to add a `rel="nofollow"` attribute to external links
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter for parsing Gollum's tags in HTML. It's only parses the
......
require 'html/pipeline/filter'
module Banzai
module Filter
class MarkdownFilter < HTML::Pipeline::TextFilter
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces milestone references with links.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that removes references to records that the current user does
......
require 'active_support/core_ext/string/output_safety'
require 'html/pipeline/filter'
module Banzai
module Filter
# Base class for GitLab Flavored Markdown reference filters.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that gathers all referenced records that the current user has
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'html/pipeline/filter'
require 'html/pipeline/sanitization_filter'
module Banzai
module Filter
# Sanitize HTML
......
require 'html/pipeline/filter'
require 'rouge/plugins/redcarpet'
module Banzai
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that adds an anchor child element to all Headers in a
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'html/pipeline/filter'
require 'yaml'
module Banzai
module Filter
class YamlFrontMatterFilter < HTML::Pipeline::Filter
......
require 'html/pipeline'
module Banzai
module Pipeline
class BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class WikiPipeline < FullPipeline
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment