How do I preserve certain tags while using the 'strip_tags' option? #223
Unanswered
aihoshistar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Clearing all tags using the 'strip_tags' option.
As a result, the contents inside 'iframe' are deleted.
But I don't want to erase some tags. (for example, iframe)
It's not known by "READEM".
Does the library have this feature?
Example
My code
$html
Result
I want.
The contents of 'iframe' should not be deleted, and I want to maintain 'iframe'.
Did this project help you today? Did it make you happy in any way?
This library made me convenient and helped me a lot to get good performance.
Beta Was this translation helpful? Give feedback.
All reactions