-
-
Notifications
You must be signed in to change notification settings - Fork 579
Open
Description
New Feature Proposal
Description
Right now we can take a document (or node) and write it somewhere using .ToHtml()
. What I'd like to do is avoid copying the document to something altogether and pull from the document structure instead. I.e. something like .ReadAsStream()
. Then I'll be able to pass around my IHtmlDocument
once I've gone to the trouble of parsing it and avoid the allocations and extra work of serializing it back to a string.
Maybe I'm missing how this can be done out of the box? Or perhaps you've got some pointers if I take this on?