Loading src/Document.php +557 −321 File changed.Preview size limit exceeded, changes collapsed. Show changes src/Publisher.php +2 −1 Original line number Diff line number Diff line Loading @@ -505,7 +505,7 @@ class Publisher foreach ($values as $vals) { $clone = $parentNode->cloneNode(true); $this->publishValues($clone, $vals); $this->insertBefore($clone, $parentNode); $parentNode->parentNode->insertBefore($clone, $parentNode); } return $this->remove($parentNode); Loading @@ -530,6 +530,7 @@ class Publisher } $this->publishValues($bodyNode, $values); $this->getDocument()->getStylist()->setVariables($values); $this->out($this->content->saveXML($bodyNode)); $first = false; } Loading Loading
src/Publisher.php +2 −1 Original line number Diff line number Diff line Loading @@ -505,7 +505,7 @@ class Publisher foreach ($values as $vals) { $clone = $parentNode->cloneNode(true); $this->publishValues($clone, $vals); $this->insertBefore($clone, $parentNode); $parentNode->parentNode->insertBefore($clone, $parentNode); } return $this->remove($parentNode); Loading @@ -530,6 +530,7 @@ class Publisher } $this->publishValues($bodyNode, $values); $this->getDocument()->getStylist()->setVariables($values); $this->out($this->content->saveXML($bodyNode)); $first = false; } Loading