-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature request: HTML5DOMDocumentFragment
with appendHTML()
#57
Comments
There are already two methods to help you with this. Please take a look at |
I am implementing a contract that requires me to return a |
Would you provide some example code so I can better understand the problem you're trying to solve and the API you're requesting? |
I must return a
YES, I can do this:
But that is a huge amount of work for what should be much easier to do, and with the requested feature, it would be. If the purpose of this library is to make HTML manipulation easy, then this feature is missing. |
Currently, I do not have plans to add fragments support. Maybe someday. Feel free to contribute such code to the library. |
Since XML is not HTML, using native
DOMDocumentFragment
and itsappendXML()
method is risky and prone to all the very same issues this library is trying to address.The text was updated successfully, but these errors were encountered: