html: add default scrubbing profile and configuration knobs
This commit is contained in:
parent
ac486fc59b
commit
40e2f6e500
2 changed files with 105 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue