1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-23 23:39:48 +00:00

Merge pull request #1182 from pixelfed/trwnh-more-html-types

Add more safe html types
This commit is contained in:
daniel 2019-04-23 20:20:49 -06:00 committed by GitHub
commit f53d129101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ return [
'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',
'a[href|title|rel],p,span,strong,em,del,b,i,s,strike,h1,h2,h3,h4,h5,h6,ul,ol,li,br',
/*