html: add default scrubbing profile and configuration knobs

This commit is contained in:
William Pitcock 2018-09-10 00:05:26 +00:00
commit 40e2f6e500
2 changed files with 105 additions and 1 deletions

View file

@ -77,7 +77,11 @@ config :pleroma, :instance,
managed_config: true
config :pleroma, :markup,
scrub_policy: HtmlSanitizeEx.Scrubber.BasicHTML
allow_inline_images: false,
allow_headings: false,
allow_tables: false,
allow_fonts: false,
scrub_policy: Pleroma.HTML.Scrubber.Default
config :pleroma, :fe,
theme: "pleroma-dark",