Hi everybody,
I have a problem with the function I mentioned in the topic.
I use following code:
$docx->replaceVariableByHTML('DATE_PROCESS_CONTENT', 'inline', ''.trim($date_process_content).'', array('isFile' => false, 'parseDivsAsPs' => true, 'downloadImages' => false));
The $date_process_content for example looks like:
foreach (....) {
$date_process_content.= '-div--b-'.trim($problemTypeName).'-/b--/div--div-'.$processDetails['notes'].'-/div-';
}
The generated worddocument does not have any paragraphs, not even a line break. It works only with the br- tag, but than the word document have just linebreak, not paragraphs. I tried also block instead of inline with no effects.
Any idea? Thank you.