We use replaceVariableByHTML to insert html.
We also need to force page breaks from that html in situations where the page may still have room for more content.
We have tried things like:
$html .= '<p style="page-break-before;">page break</p>';
How can we force a page break from within dynamic html?
We cannot use $docx->addBreak because we can only use one variable for use with replaceVariableByHTML.
We could use embedHTML if that allows forced page breaks.