Skip to content

Commit 16d779a

Browse files
committed
Adding a note here for my future self so I won't
need to look into this again
1 parent deca940 commit 16d779a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/dom/tests/node_textcontent.phpt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ Testing reading and writing to DOMNode::textContent
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7+
/*
8+
If this test is failing it is because the libxml2 library being used does
9+
not have this bug fix from 2009:
710
11+
https://github.com/GNOME/libxml2/commit/f3c06692e0d200ae0d35b5b3c31de8c56aa99ac6
12+
13+
The workaround if you are being hit by this is to add a <!DOCTYPE html> tag
14+
*/
815
$html = <<<HTML
916
<div id="test"><span>hi there</span></div>
1017
HTML;

0 commit comments

Comments
 (0)