1
0
Fork 0
forked from mirror/pixelfed
This commit is contained in:
Daniel Supernault 2019-04-23 18:30:50 -06:00
parent 4e14cabe70
commit aaf5253422
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 2 additions and 2 deletions

View file

@ -280,6 +280,6 @@ return [
'oauth_enabled' => env('OAUTH_ENABLED', false),
'sanitizer' => [
'strict_mode' => env('SANITIZER_STRICT', true)
'restrict_html_types' => env('RESTRICT_HTML_TYPES', true)
],
];

View file

@ -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,strong,em,i,h1,h2,h3,h4,h5,ul,ol,li,br',