Browse Source

Fix adoption agency

ns
J. King 3 years ago
parent
commit
bdddbeacd6
  1. 4
      lib/TreeBuilder.php

4
lib/TreeBuilder.php

@ -3512,8 +3512,8 @@ class TreeBuilder {
$element = $this->createElementForToken($formattingToken, null, $furthestBlock);
# Take all of the child nodes of furthest block and append them to
# the element created in the last step.
foreach ($furthestBlock->childNodes as $node) {
$element->appendChild($node);
while ($furthestBlock->hasChildNodes()) {
$element->appendChild($furthestBlock->firstChild);
}
# Append that new element to furthest block.
$furthestBlock->appendChild($element);

Loading…
Cancel
Save