Fix the fix

This commit is contained in:
Stéphane Goetz 2016-07-29 23:25:43 +02:00
parent 6d871c3f62
commit 6f66600fbd

View File

@ -164,9 +164,9 @@ class Processor implements DocumentProcessorInterface
$a = new Link('#' . $entry->getId());
$children = $entry->getChildren();
if ($children != null) {
foreach ($this->cloneChildren($entry->getContent()) as $node) {
$content = $entry->getContent();
if ($content != null) {
foreach ($this->cloneChildren($content) as $node) {
$a->appendChild($node);
}
}