Hello,
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
and
'parseDivsAsPs' => true
as described in the following article
https://www.phpdocx.com/en/forum/default/topic/681
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!