From 3549d9184af0e3bffa393bb2c64f2a2ba3bde43b Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 11 Sep 2017 14:32:54 +0200 Subject: [PATCH] Fix test compat with libxml2 2.9.5 From 2.9.5 on libxml explcitly initializes the keepBlanks flag. --- ext/dom/tests/dom005.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dom/tests/dom005.phpt b/ext/dom/tests/dom005.phpt index 715aec4024c..0aceb881bf3 100644 --- a/ext/dom/tests/dom005.phpt +++ b/ext/dom/tests/dom005.phpt @@ -5,7 +5,7 @@ Test 5: HTML Test --FILE-- loadHTMLFile(dirname(__FILE__)."/test.html"); +$dom->loadHTMLFile(dirname(__FILE__)."/test.html", LIBXML_NOBLANKS); print "--- save as XML\n"; print adjustDoctype($dom->saveXML());