summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2015-01-09 16:36:21 -0800
committerRasmus Lerdorf <rasmus@php.net>2015-01-09 16:36:21 -0800
commit16d779a83369f001680ac35a8e24d136c2d1b75a (patch)
tree10aaf9043434aae52f15638d57135eb6653c5b07 /ext
parentdeca9404060244274ad8150ce2d333aa378d12ed (diff)
downloadphp-git-16d779a83369f001680ac35a8e24d136c2d1b75a.tar.gz
Adding a note here for my future self so I won't
need to look into this again
Diffstat (limited to 'ext')
-rw-r--r--ext/dom/tests/node_textcontent.phpt7
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;