Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use custom DOMDocument implementation in custom TreeBuilder (PHP) #159

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

The $dom property of the HTML5_TreeBuilder class is private and provides no 
method to configure a custom implementation of DOMDocument.

What is the expected output? What do you see instead?

Not applicable.

Please provide any additional information below.

I propose that the constructor call a template method to set the $dom property. 
I am attaching some sample code to illustrate my idea.

If you would like me to provide a working patch, please LMK.

Regards,
Marshall

Original issue reported on code.google.com by [email protected] on 17 Aug 2010 at 11:13

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by geoffers on 9 Apr 2013 at 9:59

  • Added labels: Port-PHP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant