mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Rename .env var, based on feedback from https://mastodon.social/users/alicerunsonfedora/statuses/101978263084840936
This commit is contained in:
parent
4e14cabe70
commit
aaf5253422
2 changed files with 2 additions and 2 deletions
|
@ -280,6 +280,6 @@ return [
|
||||||
'oauth_enabled' => env('OAUTH_ENABLED', false),
|
'oauth_enabled' => env('OAUTH_ENABLED', false),
|
||||||
|
|
||||||
'sanitizer' => [
|
'sanitizer' => [
|
||||||
'strict_mode' => env('SANITIZER_STRICT', true)
|
'restrict_html_types' => env('RESTRICT_HTML_TYPES', true)
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
@ -67,7 +67,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'HTML.Allowed' => env('SANITIZER_STRICT', true) ?
|
'HTML.Allowed' => env('RESTRICT_HTML_TYPES', true) ?
|
||||||
'a[href|title|rel],p,span,br' :
|
'a[href|title|rel],p,span,br' :
|
||||||
'a[href|title|rel],p,span,strong,em,i,h1,h2,h3,h4,h5,ul,ol,li,br',
|
'a[href|title|rel],p,span,strong,em,i,h1,h2,h3,h4,h5,ul,ol,li,br',
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue