We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deca940 commit 16d779aCopy full SHA for 16d779a
ext/dom/tests/node_textcontent.phpt
@@ -4,7 +4,14 @@ Testing reading and writing to DOMNode::textContent
4
<?php require_once('skipif.inc'); ?>
5
--FILE--
6
<?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:
10
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
+*/
15
$html = <<<HTML
16
<div id="test"><span>hi there</span></div>
17
HTML;
0 commit comments