Hello,
I’m wanting to add in the following html tags to my unsafe html whitelist: ul,ol,li,div,p
I’ve gone into the core.typography.php file and modified the safe_encod and safe_decode arrays and its seems to “mostly” work now.
However,
If there is a nested div
<div>
<div>test</div>
</div>then it encodes one of the sets, which causes the formatting to fail.
Is there something I can change to prevent the double nested tags from getting encoded?