Can I allow embed, object, and param HTML tags to be inserted into HTMLPurifier? I am trying to allow embedding videos of YouTube, Vimeo, etc., but they are always deleted, no matter what. I understand that these are risky tags that can be resolved.
If this is not possible, what other HTML filtering options do I have with PHP? It doesn't seem like Tidy is for filtering ... does it? And strip_tags () does not give me the level of control - for example, only for certain attributes - which I am looking for.
Thank you for your help!
source
share