Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
I have some very basic code that is converting HTML to docx. The HTML I am converting is unordered lists. When it does, it puts an extra space after each line item.
Has anyone come across this before?
This is my basic code:
[code]$docx = new CreateDocx();
$wordhtml = '';
for ($x = 0; $x < count($r); $x++)
{
$wordhtml .= Markdown(trim($r[$x]['work_scope_install']));
}
$docx->embedHTML($wordhtml);
$docx->createDocxAndDownload('../../../images/uploaded/estimate');[/code]