Hello,
I haven an issue when using phpdocx_link elements in html code which I am adding to my document.
You can see the problem here: https://cloud.quintet.io/index.php/s/bzBo6H8WMFX3FgW
When I use a phpdocx_link element it ignores breaks before the element, and adds a new line after the element.
The code looks like this:
if($condition) {
$string .= '<b><phpdocx_link data-text="' . $contact->getName() . '" data-url="#' . $contact->getHash() . '" /></b>';
} else {
$string .= "<b>" . $contact->getName() . "</b>";
}
How can I change this behavior?
Thanks!