mewebstudio / Purifier

HTMLPurifier for Laravel 5/6/7/8/9/10/11
MIT License
1.87k stars 230 forks source link

General question about filter structure of html #150

Open Forsakenrox opened 3 years ago

Forsakenrox commented 3 years ago

Just one simple question - how to add custom rule to filter structure of html? As example - i want to clear all <@img> inside <@p>, but allow it in all other situation