element instanceof \PhpOffice\PhpWord\Element\Link) { return ''; } $prefix = $this->element->isInternal() ? '#' : ''; $content = $this->writeOpening(); $content .= "parentWriter->escapeHTML($this->element->getSource()) . '">' . $this->parentWriter->escapeHTML($this->element->getText()) . ''; $content .= $this->writeClosing(); return $content; } }