Re: [PHP] DOMDocument saveHTML() configurable?

2009-07-10 Thread Steve
Michael A. Peters wrote: The $dom-saveHTML() function does a pretty good job of knowing what tags are not closed - IE it does br, meta, param, etc. correctly. Is there a way to add a tag without children to it's database? Specifically I'm talking about the new source tag from HTML 5 that is

[PHP] DOMDocument saveHTML() configurable?

2009-07-09 Thread Michael A. Peters
The $dom-saveHTML() function does a pretty good job of knowing what tags are not closed - IE it does br, meta, param, etc. correctly. Is there a way to add a tag without children to it's database? Specifically I'm talking about the new source tag from HTML 5 that is being used to embed