diff options
-rw-r--r-- | ext/dom/tests/node_textcontent.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dom/tests/node_textcontent.phpt b/ext/dom/tests/node_textcontent.phpt index a731a264aa..f7312885ba 100644 --- a/ext/dom/tests/node_textcontent.phpt +++ b/ext/dom/tests/node_textcontent.phpt @@ -4,7 +4,14 @@ Testing reading and writing to DOMNode::textContent <?php require_once('skipif.inc'); ?> --FILE-- <?php +/* + If this test is failing it is because the libxml2 library being used does + not have this bug fix from 2009: + https://github.com/GNOME/libxml2/commit/f3c06692e0d200ae0d35b5b3c31de8c56aa99ac6 + + The workaround if you are being hit by this is to add a <!DOCTYPE html> tag +*/ $html = <<<HTML <div id="test"><span>hi there</span></div> HTML; |