Fix Zeitwerk load error for SanitizeConfig
"expected file app/lib/sanitize_config.rb to define constant SanitizeConfig"
This commit is contained in:
parent
2b9144d50c
commit
bee832d4ef
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'singleton'
|
require 'singleton'
|
||||||
require_relative './sanitize_config'
|
require_relative './sanitize/config'
|
||||||
|
|
||||||
class HTMLRenderer < Redcarpet::Render::HTML
|
class HTMLRenderer < Redcarpet::Render::HTML
|
||||||
def block_code(code, language)
|
def block_code(code, language)
|
||||||
|
@ -485,4 +485,4 @@ class Formatter
|
||||||
"<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>"
|
"<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue