Forum


Replies: 11   Views: 2600
Handling of lists..
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by coolaustralia  · 26-09-2019 - 08:43

I ran this code that you provided:

require_once 'Classes/Phpdocx/Create/CreateDocx.php';

$docx = new Phpdocx\Create\CreateDocx();

$html = '
<ul class="textbox-list">
    <li>Have you heard of this animal before?</li>
    <br><br><br><br><br><br>
    <li>What do you already know about this animal?</li>
    <br><br><br><br><br><br>
</ul>
';
$docx->embedHTML($html);

$docx->createDocx('output');

And I see this:

https://imgur.com/sS3Nqku