HTML.Scrubber.Default: Consistency

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-02-09 14:39:27 +01:00
parent 2272934a5e
commit 381fe44172
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -125,6 +125,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
require HtmlSanitizeEx.Scrubber.Meta require HtmlSanitizeEx.Scrubber.Meta
alias HtmlSanitizeEx.Scrubber.Meta alias HtmlSanitizeEx.Scrubber.Meta
# credo:disable-for-previous-line
# No idea how to fix this one…
@markup Application.get_env(:pleroma, :markup) @markup Application.get_env(:pleroma, :markup)
@valid_schemes Pleroma.Config.get([:uri_schemes, :valid_schemes], []) @valid_schemes Pleroma.Config.get([:uri_schemes, :valid_schemes], [])