We switched from phpdocx4 to phpdocx11 and now with replaceVariableByHTML there is no line break after the closing </p> tag. The contents of the <p></p> tags are always lined up one after the other.
We have set the option
'strictWordStyles' => true
and I have also tried the settings
'isFile' => false
'parseDivsAsPs' => true
as described in the following article
We already tried the help described there, tidy is activated.
The final call:
$docx->replaceVariableByHtml($var_name, 'inline', $value, $html_options);
Can we fix this with another configuration or is this a bug?
Thanks for any help!