mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Add more safe html types
- b for bold - del for semantic redaction - s, strike for strikethroughs - h6 was missing
This commit is contained in:
parent
aaf5253422
commit
f553543a16
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ return [
|
||||||
|
|
||||||
'HTML.Allowed' => env('RESTRICT_HTML_TYPES', 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,del,b,i,s,strike,h1,h2,h3,h4,h5,h6,ul,ol,li,br',
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue