Fix bug #65196
authorMichael Wallner <mike@php.net>
Mon, 2 Dec 2013 15:58:34 +0000 (16:58 +0100)
committerMichael Wallner <mike@php.net>
Mon, 2 Dec 2013 16:00:13 +0000 (17:00 +0100)
commit22fa3fbc5ffe75349c0edb6b776b6fb1168cb21c
tree02518821ad972158d041f5d334e401dc7f25780f
parent6408a1a59e6d371cd488687e28e18815ea97984e
Fix bug #65196

Passing DOMDocumentFragment to DOMDocument::saveHTML()
produces invalid markup, because a DocumentFragment is just a container
for child nodes and not a real node itself.
NEWS
ext/dom/document.c
ext/dom/tests/bug65196.phpt [new file with mode: 0644]