diff options
| author | William Pitcock <nenolod@dereferenced.org> | 2018-09-10 00:05:26 +0000 |
|---|---|---|
| committer | William Pitcock <nenolod@dereferenced.org> | 2018-09-10 00:14:57 +0000 |
| commit | 40e2f6e50034e81c3bf509e9dc9f2c938d86445d (patch) | |
| tree | 43f5c83ec5e865844223c1435a2852172e3cc99a /config | |
| parent | ac486fc59b49d26db7c3b6b61d0affeb34f9b3e0 (diff) | |
| download | pleroma-40e2f6e50034e81c3bf509e9dc9f2c938d86445d.tar.gz pleroma-40e2f6e50034e81c3bf509e9dc9f2c938d86445d.zip | |
html: add default scrubbing profile and configuration knobs
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 559a12a91..b3889ba12 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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", |
